Loading tests/data/DISABLED 0 → 100644 +7 −0 Original line number Diff line number Diff line # This file can be used to specify test cases that should not run when all # test cases are run by runtests.pl. Just add the plain test case numbers, one # per line. # Comments starting with '#' letters are fine. 230 231 232 tests/data/Makefile.am +1 −1 Original line number Diff line number Diff line Loading @@ -35,5 +35,5 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \ test256 test257 test258 test259 test260 test261 test262 test263 test264 \ test265 test266 test267 test268 test269 test270 test271 test272 test273 \ test274 test275 test524 test525 test276 test277 test526 test527 test528 \ test530 test530 DISABLED tests/runtests.pl +17 −0 Original line number Diff line number Diff line Loading @@ -2123,6 +2123,18 @@ if ( $TESTCASES eq "all") { my @cmds = grep { /^test([0-9]+)$/ && -f "$TESTDIR/$_" } readdir(DIR); closedir DIR; my %dis; open(D, "$TESTDIR/DISABLED"); while(<D>) { if(/^ *\#/) { # allow comments next; } if($_ =~ /(\d+)/) { $dis{$1}=$1; # disable this test number } } $TESTCASES=""; # start with no test cases # cut off everything but the digits Loading @@ -2131,6 +2143,11 @@ if ( $TESTCASES eq "all") { } # the the numbers from low to high for(sort { $a <=> $b } @cmds) { if($dis{$_}) { # skip disabled test cases print STDERR "runtests.pl: disabling test $_\n"; next; } $TESTCASES .= " $_"; } } Loading Loading
tests/data/DISABLED 0 → 100644 +7 −0 Original line number Diff line number Diff line # This file can be used to specify test cases that should not run when all # test cases are run by runtests.pl. Just add the plain test case numbers, one # per line. # Comments starting with '#' letters are fine. 230 231 232
tests/data/Makefile.am +1 −1 Original line number Diff line number Diff line Loading @@ -35,5 +35,5 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \ test256 test257 test258 test259 test260 test261 test262 test263 test264 \ test265 test266 test267 test268 test269 test270 test271 test272 test273 \ test274 test275 test524 test525 test276 test277 test526 test527 test528 \ test530 test530 DISABLED
tests/runtests.pl +17 −0 Original line number Diff line number Diff line Loading @@ -2123,6 +2123,18 @@ if ( $TESTCASES eq "all") { my @cmds = grep { /^test([0-9]+)$/ && -f "$TESTDIR/$_" } readdir(DIR); closedir DIR; my %dis; open(D, "$TESTDIR/DISABLED"); while(<D>) { if(/^ *\#/) { # allow comments next; } if($_ =~ /(\d+)/) { $dis{$1}=$1; # disable this test number } } $TESTCASES=""; # start with no test cases # cut off everything but the digits Loading @@ -2131,6 +2143,11 @@ if ( $TESTCASES eq "all") { } # the the numbers from low to high for(sort { $a <=> $b } @cmds) { if($dis{$_}) { # skip disabled test cases print STDERR "runtests.pl: disabling test $_\n"; next; } $TESTCASES .= " $_"; } } Loading