#!/usr/bin/env perl
use warnings;
+use strict;
die "Please specify the top source directory.\n" if (!@ARGV);
my $top_srcdir = shift @ARGV;
for my $test (@tests) {
print "Running $test\n\n";
- system("$top_srcdir/tests/$test");
+ system("$^X $top_srcdir/tests/$test");
push @results, $?;
}