Adjust vor VPATH builds

This commit is contained in:
Yang Tse 2010-01-12 03:01:00 +00:00
parent 1647d64a4b
commit 3fd67b5f36

View File

@ -430,7 +430,7 @@ sub checkcmd {
# #
my $disttests; my $disttests;
sub get_disttests { sub get_disttests {
my @dist = `cd $srcdir/data && make show`; my @dist = `cd data && make show`;
$disttests = join("", @dist); $disttests = join("", @dist);
} }
@ -1891,8 +1891,8 @@ sub singletest {
# timestamp test preparation start # timestamp test preparation start
$timeprepini{$testnum} = Time::HiRes::time() if($timestats); $timeprepini{$testnum} = Time::HiRes::time() if($timestats);
if($disttests !~ /\Wtest$testnum\W/ ) { if($disttests !~ /test$testnum\W/ ) {
print STDERR "NOTICE: data/test$testnum is not present in tests/data/Makefile.am!\n"; print STDERR "Warning: data/test$testnum is not present in tests/data/Makefile.am\n";
} }