[ZPT] CVS: Packages/TAL - runtest.py:1.14

guido@digicool.com guido@digicool.com
Wed, 21 Mar 2001 17:37:51 -0500 (EST)


Update of /cvs-repository/Packages/TAL
In directory korak:/tmp/cvs-serv17455

Modified Files:
	runtest.py 
Log Message:
Complain if no default tests are found.



--- Updated File runtest.py in package Packages/TAL --
--- runtest.py	2001/03/16 21:58:07	1.13
+++ runtest.py	2001/03/21 22:37:50	1.14
@@ -131,6 +131,9 @@
         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,