1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-21 18:02:43 +01:00

tests: add CTest/CDash support

This commit is contained in:
Anonymous Maarten 2017-10-26 17:26:15 +02:00 committed by Daniel Evans
parent e663d061b7
commit 55f910cfa2
2 changed files with 8 additions and 0 deletions

View File

@ -134,6 +134,7 @@ if(BUILD_VIEWER)
endif() endif()
if(BUILD_TESTS) if(BUILD_TESTS)
enable_testing() enable_testing()
include(CTest)
add_subdirectory(tests) add_subdirectory(tests)
endif() endif()

7
CTestConfig.cmake Normal file
View File

@ -0,0 +1,7 @@
set(CTEST_PROJECT_NAME "OpenRW")
set(CTEST_NIGHTLY_START_TIME "00:00:00 UTC")
set(CTEST_DROP_METHOD "http")
set(CTEST_DROP_SITE "my.cdash.org")
set(CTEST_DROP_LOCATION "/submit.php?project=OpenRW")
set(CTEST_DROP_SITE_CDASH TRUE)