#!/usr/bin/env perl
use 5.006;
-use warnings;
use strict;
+use warnings;
use Term::ANSIColor ':constants';
$Term::ANSIColor::AUTORESET = 1;
foreach my $test (@tests) {
print "Running $test\n\n";
- system("$^X $top_srcdir/tests/$test");
+ system("$^X -I$top_srcdir/tests $top_srcdir/tests/$test");
push @tested, { name => $test, result => $? };
}