[Swift-commit] r5553 - in trunk/tests: functions groups

davidk at ci.uchicago.edu davidk at ci.uchicago.edu
Tue Feb 7 08:16:18 CST 2012


Author: davidk
Date: 2012-02-07 08:16:18 -0600 (Tue, 07 Feb 2012)
New Revision: 5553

Modified:
   trunk/tests/functions/450-tracef.check.sh
   trunk/tests/groups/group-all-local.sh
Log:
Add function tests to nightly tests
Fix the check script for 450-tracef


Modified: trunk/tests/functions/450-tracef.check.sh
===================================================================
--- trunk/tests/functions/450-tracef.check.sh	2012-02-07 11:31:20 UTC (rev 5552)
+++ trunk/tests/functions/450-tracef.check.sh	2012-02-07 14:16:18 UTC (rev 5553)
@@ -10,6 +10,6 @@
 grep "pointer:.*Closed"        450-tracef.stdout || exit 1
 
 [[ $( grep -c "WORD" 450-tracef.stdout ) == 2 ]] || exit 1
-[[ $( grep "WORD" 450-tracef.stdout | wc -w ) == 5 ]] || exit 1
+[[ $( grep -o '\<WORD\>' 450-tracef.stdout | wc -l ) == 4 ]] || exit 1
 
 exit 0

Modified: trunk/tests/groups/group-all-local.sh
===================================================================
--- trunk/tests/groups/group-all-local.sh	2012-02-07 11:31:20 UTC (rev 5552)
+++ trunk/tests/groups/group-all-local.sh	2012-02-07 14:16:18 UTC (rev 5553)
@@ -23,6 +23,7 @@
 	    $TESTDIR/language-behaviour/cleanup \
 	    $TESTDIR/bugs \
 	    $TESTDIR/documentation/tutorial \
+            $TESTDIR/functions \
 	    # $TESTDIR/cdm/ps/pinned
 	    # $TESTDIR/site/intrepid
           )




More information about the Swift-commit mailing list