forked from github/verilator
tests: Fix bootstrap wouldn't cd for test_regress/t/t_dist_portability.pl.
This commit is contained in:
parent
6cfcd50f12
commit
e1f6802f5f
@ -14,9 +14,9 @@ use Cwd qw(chdir);
|
|||||||
|
|
||||||
my @args = @ARGV;
|
my @args = @ARGV;
|
||||||
chdir("$FindBin::Bin/..");
|
chdir("$FindBin::Bin/..");
|
||||||
|
$ENV{PWD} = Cwd::getcwd(); # Else chdir leaves the .. which confuses later commands
|
||||||
|
|
||||||
@args = map { s!.*test_regress/!!; $_; } @args;
|
@args = map { s!.*test_regress/!!; $_; } @args;
|
||||||
|
|
||||||
print "cd $ENV{PWD} && $FindBin::Bin/bootstrap.pl ",join(' ',@args),"\n";
|
|
||||||
exec("./driver.pl", @args);
|
exec("./driver.pl", @args);
|
||||||
die;
|
die;
|
||||||
|
Loading…
Reference in New Issue
Block a user