From 8d5525df85df45f8e9506c05f722b7d90ac61a0a Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Thu, 27 Dec 2012 16:04:50 -0500 Subject: [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. --- bin/cmakehdf5 | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/bin/cmakehdf5 b/bin/cmakehdf5 index c5f1f99..d384fe3 100755 --- a/bin/cmakehdf5 +++ b/bin/cmakehdf5 @@ -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 -- cgit v0.12