Commit 6a2f449c authored by Guido van Rossum's avatar Guido van Rossum

Complain if no default tests are found.

parent 3d5fac3d
......@@ -131,6 +131,9 @@ def main():
htmlargs = glob.glob(prefix + "html")
htmlargs.sort()
args = xmlargs + htmlargs
if not args:
sys.stderr.write("No tests found -- please supply filenames\n")
sys.exit(1)
errors = 0
for arg in args:
print arg,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment