CTestLists.txt 620 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)

steinbac's avatar
steinbac committed
10
if(${CURRENT_HOSTNAME} MATCHES ".*(falcon2|schorle|scicomp-pc-3|recovery-station).*")
steinbac's avatar
steinbac committed
11 12
    message(">> hostname (${CURRENT_HOSTNAME}): added compass test ")
    add_test(NAME compass_impl COMMAND test_compass_impl)
13
    add_test(NAME compass_sizes COMMAND test_compass_sizes)
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 bitview COMMAND test_bitview)