# HG changeset patch # User Simon Heimberg # Date 2009-05-19 07:36:20 # Node ID cc22b4168879dca12324925853db3a357e74a2f3 # Parent 08c93b07f5ad9ac835b0785f838d915ee9197194 runtest: do not start testing when there is no test diff --git a/tests/run-tests.py b/tests/run-tests.py --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -688,6 +688,9 @@ def main(): ('.' 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)