[Zpt] CVS: Packages/TAL - runtest.py:1.6

fred@digiciool.com fred@digiciool.com
Wed, 14 Mar 2001 15:06:48 -0500 (EST)


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

Modified Files:
	runtest.py 
Log Message:

Run the tests for HTML files as well as XML files in test/.



--- Updated File runtest.py in package Packages/TAL --
--- runtest.py	2001/02/09 17:27:33	1.5
+++ runtest.py	2001/03/14 20:06:47	1.6
@@ -120,7 +120,8 @@
         opts.append(args[0])
         del args[0]
     if not args:
-        args = glob.glob(os.path.join("test", "test*.xml"))
+        prefix = os.path.join("test", "test*.")
+        args = glob.glob(prefix + "xml") + glob.glob(prefix + "html")
     for arg in args:
         print arg,
         sys.stdout.flush()