aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/runtests.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index a2d5902e5..cd48c4f66 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -430,7 +430,7 @@ sub checkcmd {
#
my $disttests;
sub get_disttests {
- my @dist = `cd $srcdir/data && make show`;
+ my @dist = `cd data && make show`;
$disttests = join("", @dist);
}
@@ -1891,8 +1891,8 @@ sub singletest {
# timestamp test preparation start
$timeprepini{$testnum} = Time::HiRes::time() if($timestats);
- if($disttests !~ /\Wtest$testnum\W/ ) {
- print STDERR "NOTICE: data/test$testnum is not present in tests/data/Makefile.am!\n";
+ if($disttests !~ /test$testnum\W/ ) {
+ print STDERR "Warning: data/test$testnum is not present in tests/data/Makefile.am\n";
}