summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2012-12-27 21:04:50 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2012-12-27 21:04:50 (GMT)
commit8d5525df85df45f8e9506c05f722b7d90ac61a0a (patch)
tree435ce68fb2bbfe8e0f98663ec4dbac1c588c0075
parentd1b7de066e275e1a413201662da32ba488414b0b (diff)
downloadhdf5-8d5525df85df45f8e9506c05f722b7d90ac61a0a.zip
hdf5-8d5525df85df45f8e9506c05f722b7d90ac61a0a.tar.gz
hdf5-8d5525df85df45f8e9506c05f722b7d90ac61a0a.tar.bz2
[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.
-rwxr-xr-xbin/cmakehdf511
1 files changed, 10 insertions, 1 deletions
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