diff --git a/test/core/TestingFunctionMacro_UnitTests.cmake b/test/core/TestingFunctionMacro_UnitTests.cmake index 56dcb63da..a4e632c07 100644 --- a/test/core/TestingFunctionMacro_UnitTests.cmake +++ b/test/core/TestingFunctionMacro_UnitTests.cmake @@ -94,9 +94,12 @@ include(AppendStringVar) function(unittest_append_string_var) message("\n***") - message("*** Testing append_string_var()") + message("*** Testing append_string_var() (deprecated)") message("***\n") + # Suppress deprecation warnings + set(TRIBITS_HANDLE_TRIBITS_DEPRECATED_CODE IGNORE) + message("append_string_var(): Testing simple concatenation") set(SOME_STRING_VAR "") append_string_var(SOME_STRING_VAR diff --git a/test/core/TribitsAdjustPackageEnables_UnitTests.cmake b/test/core/TribitsAdjustPackageEnables_UnitTests.cmake index 811333abf..b460f17de 100644 --- a/test/core/TribitsAdjustPackageEnables_UnitTests.cmake +++ b/test/core/TribitsAdjustPackageEnables_UnitTests.cmake @@ -379,6 +379,9 @@ function(unittest_enable_all_st_generate_export_deps_only_ex2package1_se_pkgs) message("*** Test generation of export dependencies only up to Ex2Package1 with deprecated var _GENERATE_EXPORT_FILES_FOR_ONLY_LISTED_SE_PACKAGES") message("***\n") + # Suppress deprecation warnings + set(TRIBITS_HANDLE_TRIBITS_DEPRECATED_CODE IGNORE) + # Debugging #set(${PROJECT_NAME}_VERBOSE_CONFIGURE ON) #set(${PROJECT_NAME}_DUMP_PACKAGE_DEPENDENCIES ON) @@ -387,7 +390,7 @@ function(unittest_enable_all_st_generate_export_deps_only_ex2package1_se_pkgs) set(${PROJECT_NAME}_ENABLE_SECONDARY_TESTED_CODE ON) set(${PROJECT_NAME}_GENERATE_EXPORT_FILE_DEPENDENCIES ON) set(${PROJECT_NAME}_GENERATE_EXPORT_FILES_FOR_ONLY_LISTED_SE_PACKAGES - Ex2Package1 RTOp) + Ex2Package1 RTOp) # Deprecated! unittest_helper_read_and_process_packages() diff --git a/test/core/TribitsReadAllProjectDepsFilesCreateDepsGraph_UnitTests.cmake b/test/core/TribitsReadAllProjectDepsFilesCreateDepsGraph_UnitTests.cmake index 878459e52..f742ecbb4 100644 --- a/test/core/TribitsReadAllProjectDepsFilesCreateDepsGraph_UnitTests.cmake +++ b/test/core/TribitsReadAllProjectDepsFilesCreateDepsGraph_UnitTests.cmake @@ -195,6 +195,9 @@ function(unitest_tribits_set_ss_for_dev_mode_backward_compatible) message("*** Testing tribits_set_ss_for_dev_mode() backward compatibility") message("***\n") + # Suppress deprecation warnings + set(TRIBITS_HANDLE_TRIBITS_DEPRECATED_CODE IGNORE) + message("\nTest in dev mode, ST off ...") set(${PROJECT_NAME}_ENABLE_DEVELOPMENT_MODE ON) set(${PROJECT_NAME}_ENABLE_SECONDARY_TESTED_CODE OFF)