[Swift-commit] r3807 - trunk/tests

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Tue Dec 14 16:35:53 CST 2010


Author: wozniak
Date: 2010-12-14 16:35:53 -0600 (Tue, 14 Dec 2010)
New Revision: 3807

Added:
   trunk/tests/meta.sh
   trunk/tests/run-nightly.sh
Log:
Sketches of scripts to support multi-site testing


Added: trunk/tests/meta.sh
===================================================================
--- trunk/tests/meta.sh	                        (rev 0)
+++ trunk/tests/meta.sh	2010-12-14 22:35:53 UTC (rev 3807)
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+# Sketch of meta script
+
+# Runs nightly.sh on various sites
+
+DIR=$1 # E.g., /home/wozniak/nightly-tests
+
+ssh intrepid.alcf.anl.gov $DIR/run-nightly.sh groups/group-intrepid.sh
+


Property changes on: trunk/tests/meta.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/tests/run-nightly.sh
===================================================================
--- trunk/tests/run-nightly.sh	                        (rev 0)
+++ trunk/tests/run-nightly.sh	2010-12-14 22:35:53 UTC (rev 3807)
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+# Sketch of script that is called on remote test site
+
+GROUPLISTFILE=$1 # E.g., groups/group-all-local.sh
+
+# Enter test directory
+cd $( dirname $0 ) || exit 1
+
+svn up || exit 1
+
+./nightly.sh -g -o /scratch/wozniak/nightly $GROUPLISTFILE
+[ $? != 0 ] && exit 1
+
+exit 0


Property changes on: trunk/tests/run-nightly.sh
___________________________________________________________________
Name: svn:executable
   + *




More information about the Swift-commit mailing list