mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
e21992e08f
Test scripts sometimes need to filter some system-specific messages from the actual output so that it can match the correct expected output. These filtering functions, ususally called "STDOUT_FILTER()" and "STDERR_FILTER()" were being repeated in individual test scripts. This becomes a maintenance problem and is error prone. Solution: Extract the two filter functions code to bin/output_filter.sh and then each test script sources it in. This allows reuse of coding and is much easier to maintain and to add new filtering. Tested: LLNL Zeus (linux64 cluster) and Dawndev (Blue-Gene cluster), both for serial mode only. --This line, and those below, will be ignored-- M tools/misc/testh5mkgrp.sh M tools/h5dump/testh5dump.sh.in M tools/h5diff/testh5diff.sh M tools/h5copy/testh5copy.sh M tools/h5ls/testh5ls.sh.in M MANIFEST A bin/output_filter.sh |
||
---|---|---|
.. | ||
buildhdf5 | ||
checkapi | ||
checkposix | ||
chkconfigure | ||
chkcopyright | ||
chkmanifest | ||
compile | ||
config.guess | ||
config.sub | ||
COPYING | ||
debug-ohdr | ||
depcomp | ||
dependencies | ||
deploy | ||
distdep | ||
errors | ||
gcov_script | ||
h5vers | ||
install-sh | ||
iostats | ||
locate_sw | ||
ltmain.sh | ||
make_err | ||
make_overflow | ||
make_vers | ||
makehelp | ||
missing | ||
mkdirs | ||
mkinstalldirs | ||
newer | ||
output_filter.sh | ||
README | ||
reconfigure | ||
release | ||
runtest | ||
snapshot | ||
snapshot_version | ||
timekeeper | ||
trace | ||
yodconfigure |
The daily tests run copies of some of the scripts in this directory from another repository, notably snapshot and runtest. The copies in this directory should work, but are not used in daily tests, though they should be tested occasionally.