git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08a4449
)
r22338: Allow regexes in known-failures file
author
Jelmer Vernooij
<jelmer@samba.org>
Wed, 18 Apr 2007 14:18:33 +0000
(14:18 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:51:05 +0000
(14:51 -0500)
(This used to be commit
74efac5ce2655e47f8274f484630b82b6d5fcb24
)
source4/script/tests/selftest.pl
patch
|
blob
|
history
diff --git
a/source4/script/tests/selftest.pl
b/source4/script/tests/selftest.pl
index da4f097701648f929859614d006aed3890bd07dd..8d72928ed51fec0404c328248da6f39357ab2274 100755
(executable)
--- a/
source4/script/tests/selftest.pl
+++ b/
source4/script/tests/selftest.pl
@@
-161,7
+161,9
@@
sub expecting_failure($)
{
my $fullname = shift;
- return 1 if (grep(/^$fullname$/, @expected_failures));
+ foreach (@expected_failures) {
+ return 1 if ($fullname =~ /$_/);
+ }
return 0;
}
@@
-317,6
+319,7
@@
sub run_test($$$$$$)
$statistics->{TESTS_EXPECTED_FAIL}++;
$expected_ret = 0;
} else {
+ print "n:$name/$2l\n";
$statistics->{TESTS_UNEXPECTED_FAIL}++;
}
} elsif ($1 eq "skip") {