[cig-commits] r13531 - cs/cigma/trunk/tests/system

luis at geodynamics.org luis at geodynamics.org
Tue Dec 9 18:13:27 PST 2008


Author: luis
Date: 2008-12-09 18:13:27 -0800 (Tue, 09 Dec 2008)
New Revision: 13531

Modified:
   cs/cigma/trunk/tests/system/runner.py
Log:
Sort system tests (and skip python files for now)

Modified: cs/cigma/trunk/tests/system/runner.py
===================================================================
--- cs/cigma/trunk/tests/system/runner.py	2008-12-10 02:13:26 UTC (rev 13530)
+++ cs/cigma/trunk/tests/system/runner.py	2008-12-10 02:13:27 UTC (rev 13531)
@@ -15,8 +15,8 @@
     bash = '/bin/bash'
     python = os.environ.get('PYTHON', 'python')
 
-    tests = [t for t in os.listdir(root)
-                if t != 'runner.py']
+    tests = [ t for t in os.listdir(root) if t != 'runner.py' ]
+    tests.sort()
 
     stream.write('\n')
     
@@ -28,11 +28,10 @@
             stream.write('Running system test %s: ' % base)
             stream.flush()
             if test.endswith('.sh'):
-                #continue
                 err = os.system('%s %s' % (bash, test))
             elif test.endswith('.py'):
-                continue
-                err = os.system('%s %s' % (python, test))
+                err = 0
+                #err = os.system('%s %s' % (python, test))
         else:
             continue
         # report result



More information about the CIG-COMMITS mailing list