svn commit: samba r20509 - in branches/SAMBA_4_0/source/script: .
jelmer at samba.org
jelmer at samba.org
Wed Jan 3 13:24:25 GMT 2007
Author: jelmer
Date: 2007-01-03 13:24:24 +0000 (Wed, 03 Jan 2007)
New Revision: 20509
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20509
Log:
Warn about the fact that no tests have been run rather than showing division by
zero errors.
Modified:
branches/SAMBA_4_0/source/script/subunit-summary
Changeset:
Modified: branches/SAMBA_4_0/source/script/subunit-summary
===================================================================
--- branches/SAMBA_4_0/source/script/subunit-summary 2007-01-03 12:02:44 UTC (rev 20508)
+++ branches/SAMBA_4_0/source/script/subunit-summary 2007-01-03 13:24:24 UTC (rev 20509)
@@ -57,6 +57,11 @@
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,
More information about the samba-cvs
mailing list