From 3fd67b5f365355762f9cac282e911b936242005a Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 12 Jan 2010 03:01:00 +0000 Subject: Adjust vor VPATH builds --- tests/runtests.pl | 6 +++--- 1 file 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"; } -- cgit v1.2.3