[svn-r23120] Removed -VV from the ctest command line so that it does not send debug output

to the standout.  This keeps command output terse and easier to tell if it
passes or not.

Added time stamps printing.
Added exit code and command executation summary.

All these will make it easier for user to tell if the command succeeds or not.

Tested: {jam,koala,ostrich} all passed. {Linew,fred,duck,owl} failed.
The failure is the cmake process, not cmakehdf5 itself.
This commit is contained in:
Albert Cheng 2012-12-27 16:04:50 -05:00
parent d1b7de066e
commit 8d5525df85

View File

@ -172,4 +172,13 @@ EOF
# Run ctest
ctest -S $cfgfile -C Release -O testhdf.log -VV
date
ctest -S $cfgfile -C Release -O testhdf.log
exit_code=$?
if [ $exit_code = 0 ]; then
echo Complete without error
else
echo Error countered
fi
date
exit $exit_code