mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-09 07:32:32 +08:00
c47f724187
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.
17 lines
428 B
SQL
17 lines
428 B
SQL
#############################
|
|
Expected output for 'h5dump -H -d dset1 -d /dset2 --dataset=dset3 tdset.h5'
|
|
#############################
|
|
HDF5 "tdset.h5" {
|
|
DATASET "dset1" {
|
|
DATATYPE H5T_STD_I32BE
|
|
DATASPACE SIMPLE { ( 10, 20 ) / ( 10, 20 ) }
|
|
}
|
|
DATASET "/dset2" {
|
|
DATATYPE H5T_IEEE_F64BE
|
|
DATASPACE SIMPLE { ( 30, 20 ) / ( 30, 20 ) }
|
|
}
|
|
DATASET "dset3" {
|
|
}
|
|
}
|
|
h5dump error: unable to open dataset "dset3"
|