forked from FairRootGroup/FairRoot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
32 lines (30 loc) · 1.32 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/test_project_root_containers.sh.in
${CMAKE_CURRENT_BINARY_DIR}/test_project_root_containers.sh
@ONLY)
add_test(NAME project_root_containers
COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test_project_root_containers.sh)
set_tests_properties(project_root_containers PROPERTIES
TIMEOUT "300"
PASS_REGULAR_EXPRESSION "Test successful."
)
add_test(NAME project_root_containers_double
COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test_project_root_containers.sh --double-configure)
set_tests_properties(project_root_containers_double PROPERTIES
TIMEOUT "300"
PASS_REGULAR_EXPRESSION "Test successful."
)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/test_project_stl_containers.sh.in
${CMAKE_CURRENT_BINARY_DIR}/test_project_stl_containers.sh
@ONLY)
add_test(NAME project_stl_containers
COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test_project_stl_containers.sh)
set_tests_properties(project_stl_containers PROPERTIES
TIMEOUT "300"
PASS_REGULAR_EXPRESSION "Test successful."
)
add_test(NAME project_stl_containers_double
COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test_project_stl_containers.sh --double-configure)
set_tests_properties(project_stl_containers_double PROPERTIES
TIMEOUT "300"
PASS_REGULAR_EXPRESSION "Test successful."
)