summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2005-02-10 20:31:18 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2005-02-10 20:31:18 (GMT)
commit9825b4b57b8c4640ccbb77efdf253ec4235989ee (patch)
treeb6a6d71c883ca5a582f7e2c52b7b5199ea2f0236 /tools
parent2065c392ab66faa6fca79bda5cc3099295070ace (diff)
downloadhdf5-9825b4b57b8c4640ccbb77efdf253ec4235989ee.zip
hdf5-9825b4b57b8c4640ccbb77efdf253ec4235989ee.tar.gz
hdf5-9825b4b57b8c4640ccbb77efdf253ec4235989ee.tar.bz2
[svn-r9980] Purpose:
bug fix. Description: Need eval before the RUNCMD command because some machines like AIX, has RUNPARALLEL in the style as MP_PROCS=3 MP_TASKS_PER_NODE=3 poe ./a.out that throws the shell script off. Platforms tested: Tested in copper (pp) where it failed before. Tested in heping pp too. Misc. update:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/h5diff/testh5diff.sh8
1 files changed, 2 insertions, 6 deletions
diff --git a/tools/h5diff/testh5diff.sh b/tools/h5diff/testh5diff.sh
index 7c37b01..199b492 100755
--- a/tools/h5diff/testh5diff.sh
+++ b/tools/h5diff/testh5diff.sh
@@ -80,15 +80,11 @@ TOOLTEST() {
actual="../testfiles/`basename $1 .txt`.out"
actual_err="../testfiles/`basename $1 .txt`.err"
shift
-#echo $pmode
if test -n "$pmode"; then
RUNCMD=$RUNPARALLEL
else
RUNCMD=$RUNSERIAL
fi
-# set -x
-# echo RUNCMD=$RUNCMD
-# $RUNCMD /bin/true
# Run test.
# Tflops interprets "$@" as "" when no parameter is given (e.g., the
@@ -100,9 +96,9 @@ TOOLTEST() {
echo "#############################"
cd $srcdir/../testfiles
if [ "`uname -s`" = "TFLOPS O/S" ]; then
- $RUNCMD $H5DIFF_BIN $@
+ eval $RUNCMD $H5DIFF_BIN $@
else
- $RUNCMD $H5DIFF_BIN "$@"
+ eval $RUNCMD $H5DIFF_BIN "$@"
fi
) >$actual 2>$actual_err
cat $actual_err >> $actual