Commit 3fd67b5f authored by Yang Tse's avatar Yang Tse
Browse files

Adjust vor VPATH builds

parent 1647d64a
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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";
    }