CTestLists.txt 729 Bytes
Newer Older
steinbac's avatar
steinbac committed
1 2 3 4 5 6 7 8 9
# include(BoostTestTargets)
# add_boost_test(Independent
#  SOURCES
#  test_Independent.cpp
#  TESTS
#  Independent_suite)

cmake_host_system_information(RESULT CURRENT_HOSTNAME QUERY HOSTNAME)

10
if(${CURRENT_HOSTNAME} MATCHES ".*(falcon2|talisker|schorle|scicomp-pc-3|recovery-station).*")
steinbac's avatar
steinbac committed
11
    message(">> hostname (${CURRENT_HOSTNAME}): added compass test ")
12
    add_test(NAME compass_sizes COMMAND test_compass_sizes)
13
    add_test(NAME machine COMMAND test_machine)
steinbac's avatar
steinbac committed
14
else()
15
    message(">> unknown host (${CURRENT_HOSTNAME}): no tests were written for your host ")
steinbac's avatar
steinbac committed
16
endif()
17

18
add_test(NAME compass_impl COMMAND test_compass_impl)
19
add_test(NAME bitview COMMAND test_bitview)
20
add_test(NAME build_machine COMMAND test_build_machine)