mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
runtest: do not start testing when there is no test
This commit is contained in:
parent
01c54d72e3
commit
293c5101a0
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user