summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2001-07-14 20:32:11 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2001-07-14 20:32:11 (GMT)
commitdd742ac4c6e271b7f649638ee309df488cfc7869 (patch)
tree947ce3c0187fe1838d6a07bab52885b865de61ac /tools
parentc76ee0d68b6602c00984117077f91d359b97b613 (diff)
downloadhdf5-dd742ac4c6e271b7f649638ee309df488cfc7869.zip
hdf5-dd742ac4c6e271b7f649638ee309df488cfc7869.tar.gz
hdf5-dd742ac4c6e271b7f649638ee309df488cfc7869.tar.bz2
[svn-r4210] Purpose:
Improvement Description: The stdout and stderr were both redirected to an output file. This works fine in tradition sequential Unix machines. But in some parallel systems (like mpi-jobs in IBM SP), the stderr is merged with stdout alright but not in the exact order as expected. This is not deterministic in parallel jobs. So, the test output are all there but the ordering maynot be as expected. Solution: Redirect stderr to separated file and append it to the stdout file after test-command is executed. Then compare it with the expected output. This eliminate the assumption that stdout and stderr must merged in "chronical orders". The .ddl file are updated by moving all stderr text to the end of the file. Platforms tested: eirene (serial, mpich), modi4 parallel, tflops parallel, Blue parallel.
Diffstat (limited to 'tools')
-rw-r--r--tools/testfiles/tattr-3.ddl4
-rw-r--r--tools/testfiles/tcomp-3.ddl4
-rw-r--r--tools/testfiles/tdset-2.ddl4
-rw-r--r--tools/testfiles/tgroup-2.ddl4
4 files changed, 8 insertions, 8 deletions
diff --git a/tools/testfiles/tattr-3.ddl b/tools/testfiles/tattr-3.ddl
index 4e0bea3..d0e1bba 100644
--- a/tools/testfiles/tattr-3.ddl
+++ b/tools/testfiles/tattr-3.ddl
@@ -7,6 +7,6 @@ ATTRIBUTE "/attr2" {
DATASPACE SIMPLE { ( 10 ) / ( 10 ) }
}
ATTRIBUTE "/attr" {
- h5dump error: unable to open attribute "/"
-}
+ }
}
+h5dump error: unable to open attribute "/"
diff --git a/tools/testfiles/tcomp-3.ddl b/tools/testfiles/tcomp-3.ddl
index c4f674f..9977b2b 100644
--- a/tools/testfiles/tcomp-3.ddl
+++ b/tools/testfiles/tcomp-3.ddl
@@ -3,8 +3,7 @@ Expected output for 'h5dump -t /#5992:0 -g /group2 tcompound.h5'
#############################
HDF5 "tcompound.h5" {
DATATYPE "/#5992:0"
- h5dump error: unable to open datatype "/#5992:0"
-
+
GROUP "/group2" {
DATASET "dset5" {
DATATYPE "/#6632:0"
@@ -35,3 +34,4 @@ GROUP "/group2" {
}
}
}
+h5dump error: unable to open datatype "/#5992:0"
diff --git a/tools/testfiles/tdset-2.ddl b/tools/testfiles/tdset-2.ddl
index 30dfec6..8584e2f 100644
--- a/tools/testfiles/tdset-2.ddl
+++ b/tools/testfiles/tdset-2.ddl
@@ -11,6 +11,6 @@ DATASET "/dset2" {
DATASPACE SIMPLE { ( 30, 20 ) / ( 30, 20 ) }
}
DATASET "dset3" {
- h5dump error: unable to open dataset "dset3"
-}
+ }
}
+h5dump error: unable to open dataset "dset3"
diff --git a/tools/testfiles/tgroup-2.ddl b/tools/testfiles/tgroup-2.ddl
index a0d0ab7..f1675bc 100644
--- a/tools/testfiles/tgroup-2.ddl
+++ b/tools/testfiles/tgroup-2.ddl
@@ -41,6 +41,6 @@ GROUP "/" {
}
}
GROUP "/y" {
- h5dump error: unable to open group "/y"
-}
+ }
}
+h5dump error: unable to open group "/y"