diff options
author | Gael Guennebaud <g.gael@free.fr> | 2009-01-08 11:53:21 +0000 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2009-01-08 11:53:21 +0000 |
commit | af27fb75907728d97b7b4fec7aea8203f2fc095a (patch) | |
tree | 24a969cb5afbd6e37f9be3b8a85b40e1fc3af5ca | |
parent | 8d3469ca445b62051559eaff274a1dc822696a0b (diff) |
Add cdash.org support:
* the dashboard is there: http://my.cdash.org/index.php?project=Eigen
* now you can run the tests from the top build dir
and submit report like that (from the top build dir):
ctest -D Experimental
* todo:
- add some nighlty builds (I'll add a few on my computer)
- add valgrind memory checks, performances tests, compilation time tests, etc.
-rw-r--r-- | CMakeLists.txt | 1 | ||||
-rw-r--r-- | CTestConfig.cmake | 13 | ||||
-rw-r--r-- | test/CMakeLists.txt | 1 | ||||
-rw-r--r-- | test/vectorization_logic.cpp | 3 |
4 files changed, 17 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index df050b4bd..41d30c1c5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -81,6 +81,7 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}) add_subdirectory(Eigen) if(EIGEN_BUILD_TESTS) + include(CTest) add_subdirectory(test) endif(EIGEN_BUILD_TESTS) diff --git a/CTestConfig.cmake b/CTestConfig.cmake new file mode 100644 index 000000000..8c8e7e4ef --- /dev/null +++ b/CTestConfig.cmake @@ -0,0 +1,13 @@ +## This file should be placed in the root directory of your project. +## Then modify the CMakeLists.txt file in the root directory of your +## project to incorporate the testing dashboard. +## # The following are required to uses Dart and the Cdash dashboard +## ENABLE_TESTING() +## INCLUDE(Dart) +set(CTEST_PROJECT_NAME "Eigen") +set(CTEST_NIGHTLY_START_TIME "00:00:00 EST") + +set(CTEST_DROP_METHOD "http") +set(CTEST_DROP_SITE "www.cdash.org") +set(CTEST_DROP_LOCATION "/CDashPublic/submit.php?project=Eigen") +set(CTEST_DROP_SITE_CDASH TRUE) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 706ff7e1a..377193289 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -146,7 +146,6 @@ macro(ei_add_test testname) endmacro(ei_add_test) - enable_testing() if(TEST_LIB) diff --git a/test/vectorization_logic.cpp b/test/vectorization_logic.cpp index 2f54189a9..d1b5b4916 100644 --- a/test/vectorization_logic.cpp +++ b/test/vectorization_logic.cpp @@ -81,6 +81,9 @@ void test_vectorization_logic() LinearVectorization,NoUnrolling)); VERIFY(test_sum(Matrix<float,5,2>(), + NoVectorization,CompleteUnrolling)); + + VERIFY(test_sum(Matrix<float,6,2>(), LinearVectorization,CompleteUnrolling)); VERIFY(test_sum(Matrix<float,16,16>(), |