Call tests with executable name.

This commit is contained in:
sts 2008-11-07 00:01:25 +01:00
parent 0dd8271f32
commit cf4c155c0c
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-11-06 Steven Schubiger <stsc@members.fsf.org>
* run-px: When executing test scripts, invoke them with the
current perl executable name as determined by env.
2008-11-06 Micah Cowan <micah@cowan.name>
* run-px: Use strict (thanks Steven Schubiger!).

View File

@ -52,7 +52,7 @@ my @results;
for my $test (@tests) {
print "Running $test\n\n";
system("$top_srcdir/tests/$test");
system("$^X $top_srcdir/tests/$test");
push @results, $?;
}