summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2013-01-02 18:12:29 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2013-01-02 18:12:29 (GMT)
commit0c50bcd9295d2614f090a87d234fd5497e59a69c (patch)
treeb8489847d6efcbcaef2c002ce814ddaa8c7ce3b2
parentd2e60f31108dbcb23caa3f89b1705158992f0ba9 (diff)
downloadhdf5-0c50bcd9295d2614f090a87d234fd5497e59a69c.zip
hdf5-0c50bcd9295d2614f090a87d234fd5497e59a69c.tar.gz
hdf5-0c50bcd9295d2614f090a87d234fd5497e59a69c.tar.bz2
[svn-r23131] Correct missing command name
-rwxr-xr-xbin/cmakehdf519
1 files changed, 12 insertions, 7 deletions
diff --git a/bin/cmakehdf5 b/bin/cmakehdf5
index 9692a3f..936105a 100755
--- a/bin/cmakehdf5
+++ b/bin/cmakehdf5
@@ -107,7 +107,7 @@ endif (APPLE)
# -----------------------------------------------------------
find_package (Subversion)
-set (CTEST_UPDATE_COMMAND ${Subversion_SVN_EXECUTABLE})
+set (CTEST_UPDATE_COMMAND "${Subversion_SVN_EXECUTABLE}")
# -- Only clean build folder if LOCAL_CLEAR_BUILD is set
if (LOCAL_CLEAR_BUILD)
set (CTEST_START_WITH_EMPTY_BINARY_DIRECTORY TRUE)
@@ -132,6 +132,16 @@ foreach (req
endif (NOT DEFINED ${req})
endforeach (req)
+## -- set output to english
+set($ENV{LC_MESSAGES} "en_EN")
+
+#-----------------------------------------------------------------------------
+# Initialize the CTEST commands
+#------------------------------
+SET (CTEST_CMAKE_COMMAND "\"${CMAKE_COMMAND}\"")
+SET (CTEST_CONFIGURE_COMMAND
+ "${CTEST_CMAKE_COMMAND} -C \"${CTEST_SOURCE_DIRECTORY}/config/cmake/cacheinit.cmake\" -DCMAKE_BUILD_TYPE:STRING=${CTEST_BUILD_CONFIGURATION} ${BUILD_OPTIONS} \"-G${CTEST_CMAKE_GENERATOR}\" \"${CTEST_SOURCE_DIRECTORY}\"")
+
# Print summary information.
foreach (v
CTEST_SITE
@@ -149,13 +159,8 @@ foreach (v
set (vars "${vars} ${v}=[${${v}}]\n")
endforeach (v)
message ("Dashboard script configuration:\n${vars}\n")
-#-----------------------------------------------------------------------------
-#-- Do the work
-#-----------------------------------------------------------------------------
-SET (CTEST_CONFIGURE_COMMAND
- "${CMAKE_COMMAND} -C \"${CTEST_SOURCE_DIRECTORY}/config/cmake/cacheinit.cmake\" -DCMAKE_BUILD_TYPE:STRING=${CTEST_BUILD_CONFIGURATION} ${BUILD_OPTIONS} \"-G${CTEST_CMAKE_GENERATOR}\" \"${CTEST_SOURCE_DIRECTORY}\"")
-CTEST_START (${MODEL})
+CTEST_START (${MODEL} TRACK ${MODEL})
if (NOT LOCAL_SKIP_UPDATE)
CTEST_UPDATE (SOURCE "${CTEST_SOURCE_DIRECTORY}")
endif (NOT LOCAL_SKIP_UPDATE)