summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2005-08-18 19:36:22 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2005-08-18 19:36:22 (GMT)
commit34ce02937fca38b7709291e6deb55fa819ebbac8 (patch)
tree14171d3ccbeb703210ad7b9ee3f0288d2b238980 /tools
parent9baadd2df51d879c5f51838c05d0b534cd21964c (diff)
downloadhdf5-34ce02937fca38b7709291e6deb55fa819ebbac8.zip
hdf5-34ce02937fca38b7709291e6deb55fa819ebbac8.tar.gz
hdf5-34ce02937fca38b7709291e6deb55fa819ebbac8.tar.bz2
[svn-r11262] Purpose:
Bug fix. Description: Added filtering of h5diff debug output. Restored the skipped test to be tested again.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/h5diff/testh5diff.sh11
1 files changed, 10 insertions, 1 deletions
diff --git a/tools/h5diff/testh5diff.sh b/tools/h5diff/testh5diff.sh
index 70e4c9f..4fb3c04 100755
--- a/tools/h5diff/testh5diff.sh
+++ b/tools/h5diff/testh5diff.sh
@@ -15,6 +15,8 @@
# Tests for the h5diff tool
#
# Modification:
+# Albert Cheng, 2005/08/17
+# Added the SKIP feature.
# Albert Cheng, 2005/2/3
# Added -p option for parallel h5diff tests.
@@ -82,6 +84,8 @@ TESTING() {
# LA-MPI: *** 3 process(es) on 2 host(s): 2*fln21 1*fln22
# LA-MPI: *** libmpi (1.5.10)
# LA-MPI: *** Copyright 2001-2004, ACL, Los Alamos National Laboratory
+# 3. h5diff debug output:
+# Debug output all have prefix "h5diff debug: ".
STDERR_FILTER() {
result_file=$1
tmp_file=/tmp/h5diff_tmp_$$
@@ -98,6 +102,11 @@ STDERR_FILTER() {
sed -e '/^LA-MPI:/d' -e '/^srun:/d' \
< $tmp_file > $result_file
fi
+ # Filter h5diff debug output
+ cp $result_file $tmp_file
+ sed -e '/^h5diff debug: /d' \
+ < $tmp_file > $result_file
+ # clean up temporary files.
rm -f $tmp_file
}
@@ -414,7 +423,7 @@ TOOLTEST h5diff_70.txt file5.h5 file6.h5 -v
# # all dataset datatypes
# ##############################################################################
-SKIP h5diff_80.txt file7.h5 file8.h5 -v
+TOOLTEST h5diff_80.txt file7.h5 file8.h5 -v