[Swift-commit] r2387 - trunk/tests/language

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Mon Jan 5 02:49:53 CST 2009


Author: benc
Date: 2009-01-05 02:49:51 -0600 (Mon, 05 Jan 2009)
New Revision: 2387

Modified:
   trunk/tests/language/run
Log:
base language test can now be given a specific test case to run on the command line

Modified: trunk/tests/language/run
===================================================================
--- trunk/tests/language/run	2009-01-01 11:36:24 UTC (rev 2386)
+++ trunk/tests/language/run	2009-01-05 08:49:51 UTC (rev 2387)
@@ -9,11 +9,18 @@
 if [ "X$1" != "X-resume" ]; then
   echo Cleaning previous test results
   rm *.?ml
+  if [ "X$1" != "X" ] ; then
+    export LIST=$1
+  else
+    export LIST="*.swift"
+  fi
 else
   echo Resuming previous test run
+  export LIST="*.swift"
 fi
 
-for a in *.swift; do 
+
+for a in $LIST; do 
   b=$(basename $a .swift).xml
   if [ ! -f $b ]; then
     echo -n "known-good $a: "




More information about the Swift-commit mailing list