"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "unit_tests/CMakeLists.txt" between
irods-4.2.7.tar.gz and irods-4.2.8.tar.gz

About: iRODS (the integrated Rule Oriented Data System) is a distributed data-management system for creating data grids, digital libraries, persistent archives, and real-time data systems.

CMakeLists.txt  (irods-4.2.7):CMakeLists.txt  (irods-4.2.8)
cmake_minimum_required(VERSION ${CMAKE_VERSION}) cmake_minimum_required(VERSION ${CMAKE_VERSION})
project(unit_tests LANGUAGES C CXX) project(unit_tests LANGUAGES C CXX)
set(BUILD_UNIT_TESTS YES CACHE BOOL "Build unit tests") set(BUILD_UNIT_TESTS YES CACHE BOOL "Build unit tests")
set(UNIT_TESTS_RUN_AFTER_BUILD NO CACHE BOOL "Run after building unit tests") set(UNIT_TESTS_RUN_AFTER_BUILD NO CACHE BOOL "Run after building unit tests")
set(UNIT_TESTS_REPORTING_STYLE "junit" CACHE STRING "The style of output used fo r unit test reporting [console, compact, junit, xml]") set(UNIT_TESTS_REPORTING_STYLE "junit" CACHE STRING "The style of output used fo r unit test reporting [console, compact, junit, xml]")
set(UNIT_TESTS_REPORT_FILENAME "report.xml" CACHE STRING "The filename of the un it test report") set(UNIT_TESTS_REPORT_FILENAME "report.xml" CACHE STRING "The filename of the un it test report")
set(UNIT_TESTS_ENABLE_ALL NO CACHE BOOL "Enables all unit tests")
if (NOT BUILD_UNIT_TESTS) if (NOT BUILD_UNIT_TESTS)
return() return()
endif() endif()
# Enable CTest support. # Enable CTest support.
enable_testing() enable_testing()
IRODS_MACRO_CHECK_DEPENDENCY_SET_FULLPATH_ADD_TO_IRODS_PACKAGE_DEPENDENCIES_LIST (CATCH2 catch22.3.0-0) IRODS_MACRO_CHECK_DEPENDENCY_SET_FULLPATH_ADD_TO_IRODS_PACKAGE_DEPENDENCIES_LIST (CATCH2 catch22.3.0-0)
skipping to change at line 32 skipping to change at line 33
list(INSERT CMAKE_MODULE_PATH 0 ${CMAKE_CURRENT_SOURCE_DIR}/cmake) list(INSERT CMAKE_MODULE_PATH 0 ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
# Include helper functions and other utilities. # Include helper functions and other utilities.
include(utils) include(utils)
if (UNIT_TESTS_RUN_AFTER_BUILD) if (UNIT_TESTS_RUN_AFTER_BUILD)
set(TEST_RUNNER_ARGS -r ${UNIT_TESTS_REPORTING_STYLE} set(TEST_RUNNER_ARGS -r ${UNIT_TESTS_REPORTING_STYLE}
-o ${UNIT_TESTS_REPORT_FILENAME}) -o ${UNIT_TESTS_REPORT_FILENAME})
endif() endif()
if (UNIT_TESTS_ENABLE_ALL)
add_definitions(-DIRODS_ENABLE_ALL_UNIT_TESTS)
endif()
# List of cmake files defined under ./cmake/test_config. # List of cmake files defined under ./cmake/test_config.
# Each file in the ./cmake/test_config directory defines variables for a specifi c test. # Each file in the ./cmake/test_config directory defines variables for a specifi c test.
# New tests should be added to this list. # New tests should be added to this list.
set(TEST_INCLUDE_LIST test_config/irods_linked_list_iterator set(TEST_INCLUDE_LIST test_config/irods_atomic_apply_metadata_operations
test_config/irods_hierarchy_parser test_config/irods_connection_pool
test_config/irods_filesystem test_config/irods_data_object_modify_info
test_config/irods_dstream test_config/irods_dstream
test_config/irods_filesystem
test_config/irods_get_file_descriptor_info
test_config/irods_hierarchy_parser
test_config/irods_key_value_proxy
test_config/irods_lifetime_manager
test_config/irods_linked_list_iterator
test_config/irods_logical_paths_and_special_characters test_config/irods_logical_paths_and_special_characters
test_config/irods_connection_pool test_config/irods_query_builder
test_config/irods_query_builder) test_config/irods_scoped_client_identity
test_config/irods_scoped_privileged_client
test_config/irods_shared_memory_object
test_config/irods_user_administration
test_config/irods_with_durability)
foreach(IRODS_TEST_CONFIG ${TEST_INCLUDE_LIST}) foreach(IRODS_TEST_CONFIG ${TEST_INCLUDE_LIST})
unset_irods_test_variables() unset_irods_test_variables()
include(${IRODS_TEST_CONFIG}) include(${IRODS_TEST_CONFIG})
add_executable(${IRODS_TEST_TARGET} ${IRODS_TEST_SOURCE_FILES}) add_executable(${IRODS_TEST_TARGET} ${IRODS_TEST_SOURCE_FILES})
set_property(TARGET ${IRODS_TEST_TARGET} PROPERTY CXX_STANDARD ${IRODS_CXX_S TANDARD}) set_property(TARGET ${IRODS_TEST_TARGET} PROPERTY CXX_STANDARD ${IRODS_CXX_S TANDARD})
target_include_directories(${IRODS_TEST_TARGET} PRIVATE ${IRODS_TEST_INCLUDE _PATH}) target_include_directories(${IRODS_TEST_TARGET} PRIVATE ${IRODS_TEST_INCLUDE _PATH})
target_link_libraries(${IRODS_TEST_TARGET} PRIVATE ${IRODS_TEST_LINK_LIBRARI ES}) target_link_libraries(${IRODS_TEST_TARGET} PRIVATE ${IRODS_TEST_LINK_LIBRARI ES})
 End of changes. 5 change blocks. 
5 lines changed or deleted 20 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)