summaryrefslogtreecommitdiffstats
path: root/bin/cmakehdf5
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2013-01-23 23:22:39 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2013-01-23 23:22:39 (GMT)
commitcf1821d1165dafee67e33783293cc65be45b8a5d (patch)
treeab2d5d8d47572b4c9f6ea2d38bbab51db91aaeeb /bin/cmakehdf5
parent2233570f16b68eca4a4c1f7964a0fb0a42dc2627 (diff)
downloadhdf5-cf1821d1165dafee67e33783293cc65be45b8a5d.zip
hdf5-cf1821d1165dafee67e33783293cc65be45b8a5d.tar.gz
hdf5-cf1821d1165dafee67e33783293cc65be45b8a5d.tar.bz2
[svn-r23197] prints out what and where the log files are.
Set it NOT to submit result to the CDASH.
Diffstat (limited to 'bin/cmakehdf5')
-rwxr-xr-xbin/cmakehdf530
1 files changed, 26 insertions, 4 deletions
diff --git a/bin/cmakehdf5 b/bin/cmakehdf5
index 4627828..cdd75c0 100755
--- a/bin/cmakehdf5
+++ b/bin/cmakehdf5
@@ -19,9 +19,32 @@ $DPRINT $cfgfile
# Remove temporary generated files if exit 0
trap "rm -f $cminfile $cfgfile" 0
+#=============
+# Function definitions
+#=============
+TIMESTAMP()
+{
+ echo "=====" "`date`" "====="
+}
+
+
#==========
# main
#==========
+# Show a start time stamp
+TIMESTAMP
+
+# Explain what and where log files are.
+cat <<EOF
+ctest.log: output of ctest script.
+Log files will be stored in Testing/Temporary:
+ LastConfigure_<timestamp>.log: output of configure
+ LastBuild_<timestamp>.log: output of build
+ LastTest_<timestamp>.log: output of testing
+ LastTestsFailed_<timestamp>.log: list of failed tests
+
+EOF
+
# First generate the two needed input files, the $cimnfile and $cfgfile.
# Then use ctest to use the two input files.
@@ -49,7 +72,7 @@ set (CTEST_CMAKE_GENERATOR "Unix Makefiles")
set (CTEST_BUILD_CONFIGURATION "Release")
# -- CDash variables
-#set (LOCAL_NO_SUBMIT TRUE)
+set (LOCAL_NO_SUBMIT TRUE) # No CDash submit.
set (MODEL "Experimental")
set (CDASH_LOCAL TRUE)
set (SITE_BUILDNAME_SUFFIX "SHARED")
@@ -184,13 +207,12 @@ EOF
# Run ctest
-date
-ctest -S $cfgfile -C Release -O testhdf.log
+ctest -S $cfgfile -C Release -O ctest.log
exit_code=$?
if [ $exit_code = 0 ]; then
echo Complete without error
else
echo Error encountered
fi
-date
+TIMESTAMP
exit $exit_code