diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2003-05-12 15:56:49 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2003-05-12 15:56:49 (GMT) |
commit | 3a832338c1e70087c2e51657b47952168a667480 (patch) | |
tree | acb38ca5f7bf5a3bc93a7e5e57242c5099f85d04 /tools | |
parent | deab04989e06e3cd3b5acd134b96acb36a77170e (diff) | |
download | hdf5-3a832338c1e70087c2e51657b47952168a667480.zip hdf5-3a832338c1e70087c2e51657b47952168a667480.tar.gz hdf5-3a832338c1e70087c2e51657b47952168a667480.tar.bz2 |
[svn-r6846] Purpose:
Bug fix
Description:
The tests would just segmentation fault in Tflops because the
compiled code were launched without using the $RUNSERIAL to launch
them. This may fail in some batch systems like Tflops.
Solution:
Used $RUNSERIAL to launch the compiled code.
Also fixed a typo of the script command line.
Platforms tested:
Only tested in Tflops since the modified code resided there.
Misc. update:
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/h5import/h5importtestutil.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/h5import/h5importtestutil.sh b/tools/h5import/h5importtestutil.sh index 741e564..f3c77df 100755 --- a/tools/h5import/h5importtestutil.sh +++ b/tools/h5import/h5importtestutil.sh @@ -1,4 +1,4 @@ -#!rbin/sh +#!/bin/sh # # Copyright by the Board of Trustees of the University of Illinois. # All rights reserved. @@ -26,11 +26,11 @@ TESTING() { TOOLTEST() { err=0 -./h5import $* -../h5dump/h5dump $5 >log2 +$RUNSERIAL ./h5import $* +$RUNSERIAL ../h5dump/h5dump $5 >log2 cd tmp_testfiles -../../h5dump/h5dump $5 >log1 +$RUNSERIAL ../../h5dump/h5dump $5 >log1 cd .. cmp -s tmp_testfiles/log1 log2 || err=1 @@ -56,7 +56,7 @@ rm -f output.h5 log1 tx* b* *.dat mkdir tmp_testfiles cp $srcdir/testfiles/*.h5 tmp_testfiles/ -./h5importtest +$RUNSERIAL ./h5importtest TESTING "ASCII I32 rank 3 - Output BE " ; TOOLTEST txtin32 -c $srcdir/testfiles/textin32 -o test1.h5 |