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;
|
||||
chdir("$FindBin::Bin/..");
|
||||
$ENV{PWD} = Cwd::getcwd(); # Else chdir leaves the .. which confuses later commands
|
||||
|
||||
@args = map { s!.*test_regress/!!; $_; } @args;
|
||||
|
||||
print "cd $ENV{PWD} && $FindBin::Bin/bootstrap.pl ",join(' ',@args),"\n";
|
||||
exec("./driver.pl", @args);
|
||||
die;
|
||||
|
Loading…
Reference in New Issue
Block a user