]> granicus.if.org Git - curl/commitdiff
Adjust vor VPATH builds
authorYang Tse <yangsita@gmail.com>
Tue, 12 Jan 2010 03:01:00 +0000 (03:01 +0000)
committerYang Tse <yangsita@gmail.com>
Tue, 12 Jan 2010 03:01:00 +0000 (03:01 +0000)
tests/runtests.pl

index a2d5902e5c5c4f9844e73eabf9a211364ea4385d..cd48c4f66151a6fc55345843e3590246964f08a4 100755 (executable)
@@ -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";
     }