From 3a832338c1e70087c2e51657b47952168a667480 Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Mon, 12 May 2003 10:56:49 -0500 Subject: [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: --- tools/h5import/h5importtestutil.sh | 10 +++++----- 1 file 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 -- cgit v0.12