From defd05bdd7172b96b64d765f79b722bd9b776ac7 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Fri, 12 Jul 2019 19:35:10 -0400 Subject: [PATCH] Tests: Fix driver checking threads/gcc for extended tests. --- test_regress/driver.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_regress/driver.pl b/test_regress/driver.pl index d06bfa3c0..f2f87042f 100755 --- a/test_regress/driver.pl +++ b/test_regress/driver.pl @@ -1889,13 +1889,13 @@ sub _vcd_read { our $_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; } our $_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; }