diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2011-05-07 17:05:56 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2011-05-07 17:05:56 (GMT) |
commit | e21992e08f55d5473677df7c4f4e83019375e39e (patch) | |
tree | 7ff1a740bced6e246628ab934716fc1a03122440 /hl | |
parent | 054ca47350a07361e61d668453f62a0c657da70d (diff) | |
download | hdf5-e21992e08f55d5473677df7c4f4e83019375e39e.zip hdf5-e21992e08f55d5473677df7c4f4e83019375e39e.tar.gz hdf5-e21992e08f55d5473677df7c4f4e83019375e39e.tar.bz2 |
[svn-r20771] Problem:
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
Diffstat (limited to 'hl')
0 files changed, 0 insertions, 0 deletions