]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/test/build/CMakeLists.txt
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / test / build / CMakeLists.txt
index 70f1bd24fae11cfa7be115e4c4b3f870a3c83125..ad2ebd02647226fe78a190623d989630f8afcdea 100644 (file)
@@ -1,4 +1,4 @@
-# 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
@@ -14,7 +14,7 @@ set(CMAKE_MACOSX_RPATH ON)
 
 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)
@@ -90,6 +90,7 @@ set(BOOST_UTF_SRC
     ${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
@@ -130,17 +131,17 @@ file(GLOB_RECURSE
 
 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()
 
@@ -171,8 +172,10 @@ set(BOOST_UTF_TESTS_IND_FILES
     framework-ts
     usage-variants-ts
     utils-ts
-    test-organization-ts)
-    
+    test-organization-ts
+    smoke-ts
+  )
+
 
 foreach(_ts IN LISTS BOOST_UTF_TESTS_IND_FILES)
 
@@ -198,4 +201,3 @@ foreach(_ts IN LISTS BOOST_UTF_TESTS_IND_FILES)
   unset(_boost_utf_current_tsuite)
 
 endforeach() # test suite
-