forked from github/verilator
Tests: Fix driver checking threads/gcc for extended tests.
This commit is contained in:
parent
a7e5cccf33
commit
defd05bdd7
@ -1889,13 +1889,13 @@ sub _vcd_read {
|
|||||||
|
|
||||||
our $_Cxx_Version;
|
our $_Cxx_Version;
|
||||||
sub cxx_version {
|
sub cxx_version {
|
||||||
$_Cxx_Version ||= `make -f Makefile print-cxx-version`;
|
$_Cxx_Version ||= `make -C $ENV{VERILATOR_ROOT}/test_regress -f Makefile print-cxx-version`;
|
||||||
return $_Cxx_Version;
|
return $_Cxx_Version;
|
||||||
}
|
}
|
||||||
|
|
||||||
our $_Cfg_With_Threaded;
|
our $_Cfg_With_Threaded;
|
||||||
sub cfg_with_threaded {
|
sub cfg_with_threaded {
|
||||||
$_Cfg_With_Threaded ||= `make -f ../Makefile print-cfg-with-threaded`;
|
$_Cfg_With_Threaded ||= `make -C $ENV{VERILATOR_ROOT} -f Makefile print-cfg-with-threaded`;
|
||||||
return ($_Cfg_With_Threaded =~ /yes/i) ? 1:0;
|
return ($_Cfg_With_Threaded =~ /yes/i) ? 1:0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user