From 4c6f09d4de36fc269afc7c933a23981310977b8a Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Mon, 19 Jan 2009 22:39:42 -0500 Subject: [svn-r16332] Bug 948. The test "h5diff -v h5diff_hyper1.h5 h5diff_hyper2.h5" sometimes hangs in THG machines. Skip it until its hanging is resolved. Tested: Jam pp only since it is a simple script change. --- tools/h5diff/testh5diff.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tools/h5diff/testh5diff.sh b/tools/h5diff/testh5diff.sh index 2089321..811b9d8 100755 --- a/tools/h5diff/testh5diff.sh +++ b/tools/h5diff/testh5diff.sh @@ -65,6 +65,7 @@ DIFF='diff -c' nerrors=0 verbose=yes pmode= # default to run h5diff tests +mydomainname=`domainname 2>/dev/null` # The build (current) directory might be different than the source directory. if test -z "$srcdir"; then @@ -561,8 +562,13 @@ TESTING $H5DIFF -v $SRCFILE2 $SRCFILE2 TOOLTEST h5diff_90.txt -v $FILE2 $FILE2 # 10. read by hyperslab, print indexes -TESTING $H5DIFF -v $SRCFILE9 $SRCFILE10 -TOOLTEST h5diff_100.txt -v $FILE9 $FILE10 +if test -n "$pmode" -a "$mydomainname" = hdfgroup.uiuc.edu; then + # skip this test which sometimes hangs in some THG machines + SKIP -v $SRCFILE9 $SRCFILE10 +else + TESTING $H5DIFF -v $SRCFILE9 $SRCFILE10 + TOOLTEST h5diff_100.txt -v $FILE9 $FILE10 +fi # 11. floating point comparison TESTING $H5DIFF -v $SRCFILE1 $SRCFILE1 g1/d1 g1/d2 -- cgit v0.12