aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2010-01-12 03:01:00 +0000
committerYang Tse <yangsita@gmail.com>2010-01-12 03:01:00 +0000
commit3fd67b5f365355762f9cac282e911b936242005a (patch)
treecf3573b6095c09f0a54ebe39c2ed120e332c17a9 /tests
parent1647d64a4b1713c20f936f229dc51bead92cebf9 (diff)
Adjust vor VPATH builds
Diffstat (limited to 'tests')
-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";
}