tests/runAll.py
changeset 2967 ea62529bd1df
parent 2966 c9df63ccabdf
child 2978 1e68f6a61dfe
--- a/tests/runAll.py	Wed Sep 03 16:18:43 2008 +0000
+++ b/tests/runAll.py	Wed Sep 03 17:22:41 2008 +0000
@@ -48,10 +48,10 @@
                 except:
                     pass
 
-    # special case for reportlab/test directory - clean up
+    # special case for tests directory - clean up
     # all PDF & log files before starting run.  You don't
     # want this if reusing runAll anywhere else.
-    if string.find(folder, 'reportlab' + os.sep + 'test') > -1: cleanup(folder)
+    if string.find(folder, os.sep+'tests') > -1: cleanup(folder)
     cleanup(outputfile(''))
     NI = []
     cleanOnly = '--clean' in sys.argv