summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
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