-# Copyright 2001, Raffi Enficiaud
+# Copyright 2014, Raffi Enficiaud
# Use, modification, and distribution are subject to the
# Boost Software License, Version 1.0. (See accompanying file
add_definitions(-DBOOST_TEST_NO_LIB)
-# build type, by default to release (with optimisations)
+# build type, by default to release (with optimisations)
if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
message(STATUS "Setting build type to 'Release' as none was specified.")
set(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build." FORCE)
${BOOST_TEST_ROOT_DIR}/src/progress_monitor.cpp
${BOOST_TEST_ROOT_DIR}/src/results_collector.cpp
${BOOST_TEST_ROOT_DIR}/src/results_reporter.cpp
+ ${BOOST_TEST_ROOT_DIR}/src/test_framework_init_observer.cpp
${BOOST_TEST_ROOT_DIR}/src/test_tools.cpp
${BOOST_TEST_ROOT_DIR}/src/test_tree.cpp
${BOOST_TEST_ROOT_DIR}/src/unit_test_log.cpp
foreach(_h IN LISTS BOOST_UTF_DOC_EXAMPLES)
get_filename_component(_hh ${_h} NAME_WE)
- add_executable(${_hh} ${_h} ${BOOST_TEST_ROOT_DIR}/doc/examples/${_hh}.output)
- target_include_directories(${_hh} PUBLIC ${BOOST_TEST_ROOT_DIR}/include/)
- set_target_properties(${_hh} PROPERTIES FOLDER "Doc examples")
+ add_executable(doc-${_hh} ${_h} ${BOOST_TEST_ROOT_DIR}/doc/examples/${_hh}.output)
+ target_include_directories(doc-${_hh} PUBLIC ${BOOST_TEST_ROOT_DIR}/include/)
+ set_target_properties(doc-${_hh} PROPERTIES FOLDER "Doc examples")
- add_test(NAME doc-${_hh}
- COMMAND ${_hh})
+ add_test(NAME doc-${_hh}-test
+ COMMAND doc-${_hh})
get_filename_component(_ext ${_h} EXT)
string(FIND ${_ext} "fail" _index_fail)
if(${_index_fail} GREATER -1)
message(STATUS "test ${_hh}.${_ext} = ${_index_fail}")
- set_tests_properties(doc-${_hh} PROPERTIES WILL_FAIL TRUE)
+ set_tests_properties(doc-${_hh}-test PROPERTIES WILL_FAIL TRUE)
endif()
endforeach()
framework-ts
usage-variants-ts
utils-ts
- test-organization-ts)
-
+ test-organization-ts
+ smoke-ts
+ )
+
foreach(_ts IN LISTS BOOST_UTF_TESTS_IND_FILES)
unset(_boost_utf_current_tsuite)
endforeach() # test suite
-