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.
diff --git a/CMakeLists.txt b/CMakeLists.txt index df050b4..41d30c1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -81,6 +81,7 @@ 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 0000000..8c8e7e4 --- /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 706ff7e..3771932 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt
@@ -146,7 +146,6 @@ endmacro(ei_add_test) - enable_testing() if(TEST_LIB)
diff --git a/test/vectorization_logic.cpp b/test/vectorization_logic.cpp index 2f54189..d1b5b49 100644 --- a/test/vectorization_logic.cpp +++ b/test/vectorization_logic.cpp
@@ -81,6 +81,9 @@ 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>(),