diff options
Diffstat (limited to 'source4')
-rwxr-xr-x | source4/script/subunit-summary | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/script/subunit-summary b/source4/script/subunit-summary index f407e20060..aec50ed02a 100755 --- a/source4/script/subunit-summary +++ b/source4/script/subunit-summary @@ -57,6 +57,11 @@ while(<STDIN>) { print "\n" if ($opt_progress); +if ($numtests == 0) { + print "No tests run\n"; + exit(0); +} + printf("%d%%: %d tests, %d succeeded, %d failed, %d skipped\n", ($numsuccess / $numtests * 100), $numtests, |