[cig-commits] commit: Adding a python wrapper for test all script.

Mercurial hg at geodynamics.org
Mon Feb 1 15:31:35 PST 2010


changeset:   364:648062320aea
branch:      pcu_rejig
user:        JericoRevote
date:        Mon Dec 14 17:51:20 2009 +1100
files:       SysTest/RegressionTests/testAll.py
description:
Adding a python wrapper for test all script.
For bitten testing.


diff -r a57382f9b1e2 -r 648062320aea SysTest/RegressionTests/testAll.py
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SysTest/RegressionTests/testAll.py	Mon Dec 14 17:51:20 2009 +1100
@@ -0,0 +1,15 @@
+#! /usr/bin/env python
+
+import os
+
+def runTests():
+    
+    commands = ['./analyticTest.pl AnalyticShearXZ.xml -optionsFile np-1.dat', \
+                './analyticTest.pl AnalyticShearXZ.xml -optionsFile np-2.dat', \
+                './analyticTest.pl AnalyticShearXZ.xml -optionsFile np-4.dat', \
+                './analyticTest.pl AnalyticShearXZ.xml -optionsFile np-8.dat']
+
+    for command in commands:
+        os.system( command )
+
+runTests()



More information about the CIG-COMMITS mailing list