[Swift-commit] r3519 - trunk/tests

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Tue Aug 10 16:25:01 CDT 2010


Author: wozniak
Date: 2010-08-10 16:25:01 -0500 (Tue, 10 Aug 2010)
New Revision: 3519

Modified:
   trunk/tests/nightly.sh
Log:
Fix SKIP_TESTS bug


Modified: trunk/tests/nightly.sh
===================================================================
--- trunk/tests/nightly.sh	2010-08-10 21:22:14 UTC (rev 3518)
+++ trunk/tests/nightly.sh	2010-08-10 21:25:01 UTC (rev 3519)
@@ -498,10 +498,9 @@
 
   sed "s at _DIR_@$GROUP@" < $GROUP/tc.template.data > tc.data
 
-  J=0
   for TEST in $( ls $GROUP/*.swift ); do
 
-    (( J++ < SKIP_TESTS )) && continue
+    (( SKIP_COUNTER++ < SKIP_TESTS )) && continue
 
     TESTNAME=$( basename $TEST)
     cp -uv $GROUP/$TESTNAME .
@@ -572,6 +571,7 @@
 TESTDIR=$TOPDIR/cog/modules/swift/tests
 sed "s at _WORK_@$PWD/work@" < $TESTDIR/sites/localhost.xml > sites.xml
 
+SKIP_COUNTER=0
 start_part "Part II: Working Tests"
 GROUP=$TESTDIR/language/working
 test_group




More information about the Swift-commit mailing list