[Swift-commit] r4033 - branches/release-0.92/tests

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Tue Jan 25 00:32:13 CST 2011


Author: skenny
Date: 2011-01-25 00:32:12 -0600 (Tue, 25 Jan 2011)
New Revision: 4033

Modified:
   branches/release-0.92/tests/nightly.sh
Log:
older bash version complained about += 

Modified: branches/release-0.92/tests/nightly.sh
===================================================================
--- branches/release-0.92/tests/nightly.sh	2011-01-24 16:30:57 UTC (rev 4032)
+++ branches/release-0.92/tests/nightly.sh	2011-01-25 06:32:12 UTC (rev 4033)
@@ -11,6 +11,8 @@
 # Run nightly.sh -h for quick help
 # When something goes wrong, find and check tests.log or use -v
 # Code is checked out into TOPDIR (PWD by default) (PATH is not used)
+# The variables COG_VERSION and SWIFT_VERSION must be set for code checkout
+# e.g. COG_VERSION=branches/4.1.8, SWIFT_VERSION=branches/release-0.92
 # Swift is compiled and installed in its source tree
 # The run is executed in RUNDIR (TOPDIR/RUNDIRBASE)
 # The build test is started in TOPDIR
@@ -256,10 +258,10 @@
   do
     case $1 in
       cellpadding)
-        OPTS+="cellpadding=\"$2\" "
+        OPTS="${OPTS}cellpadding=\"$2\" "
         shift 2;;
       border)
-        OPTS+="border=\"$2\" "
+        OPTS="${OPTS}border=\"$2\" "
         shift 2;;
       esac
   done
@@ -302,16 +304,16 @@
   do
     case $1 in
       align)
-        OPTS+="align=\"$2\" "
+        OPTS="${OPTS}align=\"$2\" "
         shift 2;;
       class)
-        OPTS+="class=\"$2\" "
+        OPTS="${OPTS}class=\"$2\" "
         shift 2;;
       title)
-        OPTS+="title=\"$2\" "
+        OPTS="${OPTS}title=\"$2\" "
         shift 2;;
       width)
-        OPTS+="width=\"$2\" "
+        OPTS="${OPTS}width=\"$2\" "
         shift 2;;
     esac
   done
@@ -943,7 +945,7 @@
   TESTNAME="Checkout CoG"
   start_row
   test_exec rm -rf cog
-  COG="https://cogkit.svn.sourceforge.net/svnroot/cogkit/trunk/current/src/cog"
+  COG="https://cogkit.svn.sourceforge.net/svnroot/cogkit/$COG_VERSION/src/cog"
   test_exec svn co $COG
   end_row
 
@@ -951,7 +953,7 @@
   start_row
   test_exec cd cog/modules
   test_exec rm -rf swift
-  test_exec svn co https://svn.ci.uchicago.edu/svn/vdl2/$BRANCH swift
+  test_exec svn co https://svn.ci.uchicago.edu/svn/vdl2/$SWIFT_VERSION swift
   end_row
 fi
 




More information about the Swift-commit mailing list