mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-10 10:49:04 +08:00
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.
This commit is contained in:
parent
8d3469ca44
commit
af27fb7590
@ -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)
|
||||
|
||||
|
13
CTestConfig.cmake
Normal file
13
CTestConfig.cmake
Normal file
@ -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)
|
@ -146,7 +146,6 @@ macro(ei_add_test testname)
|
||||
|
||||
endmacro(ei_add_test)
|
||||
|
||||
|
||||
enable_testing()
|
||||
|
||||
if(TEST_LIB)
|
||||
|
@ -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>(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user