Text archives Help
- From: boulos@sci.utah.edu
- To: manta@sci.utah.edu
- Subject: [Manta] r1700 - in trunk: . tests
- Date: Fri, 31 Aug 2007 18:23:05 -0600 (MDT)
Author: boulos
Date: Fri Aug 31 18:23:04 2007
New Revision: 1700
Added:
trunk/CTestConfig.cmake
trunk/tests/SmokeTest.cmake
Modified:
trunk/CMakeLists.txt
Log:
CMakeLists.txt
Enabling CTest for Manta. Note this won't have any effect on you
unless you choose to run testing. However, now you can add tests
using ADD_TEST if you'd like.
CTestConfig.cmake
Setting up CTest to use the new Manta DART dashboard.
tests/SmokeTest.cmake
A simple SmokeTest that only tries to build Manta on your system
without running any of correctness/regression tests (these will come
in the future). This script is setup to be used for nightly builds
only right now (which just means that's where they show up in the
dashboard).
Modified: trunk/CMakeLists.txt
==============================================================================
--- trunk/CMakeLists.txt (original)
+++ trunk/CMakeLists.txt Fri Aug 31 18:23:04 2007
@@ -12,6 +12,9 @@
PROJECT (Manta)
+INCLUDE(CTest)
+ENABLE_TESTING()
+
SET(DEFAULT_BUILD_SHARED_LIBS ON)
IF (CYGWIN)
# I can't get Manta to run with shared libraries. This, at least,
Added: trunk/CTestConfig.cmake
==============================================================================
--- (empty file)
+++ trunk/CTestConfig.cmake Fri Aug 31 18:23:04 2007
@@ -0,0 +1,4 @@
+SET(CTEST_PROJECT_NAME "Manta")
+SET(CTEST_DROP_METHOD "xmlrpc")
+SET(CTEST_DROP_SITE "
http://dashboard.sci.utah.edu:8081")
+SET(CTEST_DROP_LOCATION "Manta")
Added: trunk/tests/SmokeTest.cmake
==============================================================================
--- (empty file)
+++ trunk/tests/SmokeTest.cmake Fri Aug 31 18:23:04 2007
@@ -0,0 +1,14 @@
+# Where the source code lives
+SET (CTEST_SOURCE_DIRECTORY "${CTEST_SCRIPT_DIRECTORY}/..")
+SET (CTEST_BINARY_DIRECTORY "${CTEST_SOURCE_DIRECTORY}/build-ctest")
+
+# Make sure we always reconfigure cmake stuff from scratch and don't
+# rely on previously built libraries
+SET (CTEST_START_WITH_EMPTY_BINARY_DIRECTORY TRUE)
+
+SET (CTEST_CMAKE_COMMAND "cmake")
+SET (CTEST_CVS_COMMAND "svn")
+
+# A smoke test only builds the code and doesn't run any tests, so we
+# exclude all tests here
+SET (CTEST_COMMAND "ctest -D Nightly -E \".*\"")
- [Manta] r1700 - in trunk: . tests, boulos, 08/31/2007
Archive powered by MHonArc 2.6.16.