summaryrefslogtreecommitdiff
path: root/Examples/test_all_gfs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test_all_gfs.sh')
-rwxr-xr-xExamples/test_all_gfs.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/Examples/test_all_gfs.sh b/Examples/test_all_gfs.sh
index a03ee9c..b78dd6b 100755
--- a/Examples/test_all_gfs.sh
+++ b/Examples/test_all_gfs.sh
@@ -1,4 +1,4 @@
-#
+#!/bin/bash
#
# Copyright (c) 2013, James S. Plank and Kevin Greenan
# All rights reserved.
@@ -42,6 +42,11 @@ k=12
m=3
seed=1370
+if ! test -x ${GF_METHODS} ; then
+ ${GF_METHODS}
+ exit 1
+fi
+
# Test all w=8
${GF_METHODS} 8 -B -L | awk -F: '{ if ($1 == "w=8") print $2; }' |
while read method; do