aboutsummaryrefslogtreecommitdiff
path: root/test-carpet
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@aei.mpg.de>2005-03-20 18:07:00 +0000
committerErik Schnetter <schnetter@aei.mpg.de>2005-03-20 18:07:00 +0000
commit384d2acbe1f33481841c38823853fbd22976903c (patch)
treeaf5fe99e60f2f15b5f12906ffd2af49a3794818e /test-carpet
parent99ad3407121a51a0289e123699b0ccd3ae992fed (diff)
global: Update Carpet test script
darcs-hash:20050320180759-891bb-221e677643a4c039098970212f0aac6e801da092.gz
Diffstat (limited to 'test-carpet')
-rwxr-xr-xtest-carpet24
1 files changed, 16 insertions, 8 deletions
diff --git a/test-carpet b/test-carpet
index 9dd1ac34b..079f1b33b 100755
--- a/test-carpet
+++ b/test-carpet
@@ -2,6 +2,11 @@
set -e
+mkdir test-Cactus
+pushd test-Cactus
+
+
+
# Get Cactus
cvs -z6 -d :pserver:cvs_anon@cvs.cactuscode.org:/cactusdevcvs checkout Cactus
pushd Cactus
@@ -11,7 +16,7 @@ pushd Cactus
pushd arrangements
# Link to Carpet thorns
-ln -sf ../../Carpet* .
+ln -sf ../../../Carpet* .
# Get arrangements
for arr in CactusBase CactusBench CactusConnect CactusEinstein CactusElliptic CactusExamples CactusExternal CactusIO CactusPUGH CactusPUGHIO CactusTest CactusUtils CactusWave AlphaThorns BetaThorns; do
@@ -24,7 +29,9 @@ for arr in AEIThorns Excision; do
cvs -z6 -d :pserver:cvs_anon@cvs.aei.mpg.de:/numrelcvs checkout $arr
done
for thorn in AEIThorns/AHFinderDirect; do
- (cd $thorn && cvs -z6 update -dPr Erik)
+ pushd $thorn
+ cvs -z6 update -dPr Erik
+ popd
done
popd
@@ -32,11 +39,12 @@ popd
# Create a configuration
cat > options <<EOF
-OPTIMISE=no
-DEBUG=yes
-WARN=yes
-MPI=MPICH
-HDF5=yes
+OPTIMISE = no
+DEBUG = yes
+WARN = yes
+
+MPI = MPICH
+HDF5 = yes
EOF
echo yes | make einstein-config options=options
cat > configs/einstein/ThornList <<EOF
@@ -271,7 +279,6 @@ make -k einstein-utils
# Run all test suites
-echo "Running the test suites on one processor"
{
echo
echo 1
@@ -282,3 +289,4 @@ echo "Running the test suites on one processor"
# Done
popd
+popd