Author: jelmer Date: 2007-10-08 14:57:11 +0000 (Mon, 08 Oct 2007) New Revision: 25580
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25580 Log: Error out if there are no tests to run. Modified: branches/SAMBA_4_0/ branches/SAMBA_4_0/source/selftest/selftest.pl Changeset: Property changes on: branches/SAMBA_4_0 ___________________________________________________________________ Name: bzr:revision-info ...skipped... Name: bzr:revision-id:v3-trunk0 ...skipped... Modified: branches/SAMBA_4_0/source/selftest/selftest.pl =================================================================== --- branches/SAMBA_4_0/source/selftest/selftest.pl 2007-10-08 14:22:10 UTC (rev 25579) +++ branches/SAMBA_4_0/source/selftest/selftest.pl 2007-10-08 14:57:11 UTC (rev 25580) @@ -586,6 +586,11 @@ push(@todo, read_testlist($_)); } +if ($#todo == -1) { + print STDERR "No tests to run\n"; + exit(1); + } + my $suitestotal = $#todo + 1; my $i = 0; $| = 1;