runtest: do not start testing when there is no test

This commit is contained in:
Simon Heimberg 2009-05-19 09:36:20 +02:00
parent 01c54d72e3
commit 293c5101a0

View File

@ -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)