tests/run-tests.py
changeset 8592 cc22b4168879
parent 8397 613ac2856535
child 8620 b38f275bb5c2
--- a/tests/run-tests.py	Sun May 24 11:41:07 2009 +0200
+++ b/tests/run-tests.py	Tue May 19 09:36:20 2009 +0200
@@ -688,6 +688,9 @@
             ('.' not in test or test.endswith('.py') or
              test.endswith('.bat'))):
             tests.append(test)
+    if not tests:
+        print "# Ran 0 tests, 0 skipped, 0 failed."
+        return
 
     vlog("# Using TESTDIR", TESTDIR)
     vlog("# Using HGTMP", HGTMP)