git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dae6a24
)
r25580: Error out if there are no tests to run.
author
Jelmer Vernooij
<jelmer@samba.org>
Mon, 8 Oct 2007 14:57:11 +0000
(14:57 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 20:07:59 +0000
(15:07 -0500)
(This used to be commit
eddb663959b62a7170998f1ba0fad59967fcff67
)
source4/selftest/selftest.pl
patch
|
blob
|
history
diff --git
a/source4/selftest/selftest.pl
b/source4/selftest/selftest.pl
index 5e3f1e0987b5ecce15ff9a0f452d39a11a69ea15..a3671b4c89039d83bcedf79800da96bee8b62e01 100755
(executable)
--- a/
source4/selftest/selftest.pl
+++ b/
source4/selftest/selftest.pl
@@
-586,6
+586,11
@@
foreach (@opt_testlists) {
push(@todo, read_testlist($_));
}
+if ($#todo == -1) {
+ print STDERR "No tests to run\n";
+ exit(1);
+ }
+
my $suitestotal = $#todo + 1;
my $i = 0;
$| = 1;