Tests: Update expected results for Xcode 16

In `Tests/RunCMake/LinkerSelection`, Xcode 16 warns when building the
AppleClassic case:

    ld: warning: -ld_classic is deprecated and will be removed
                 in a future release

Tolerate all build warnings.
This commit is contained in:
Brad King
2024-06-13 09:11:52 -04:00
parent aecdab3833
commit b243c19986
2 changed files with 3 additions and 2 deletions

View File

@@ -1,3 +1,3 @@
ld: warning: ignoring duplicate libraries: '.*liblib1.a', '.*liblib2.a'
ld: fatal warning\(s\) induced error \(-fatal_warnings\)
clang: error: linker command failed with exit code 1 \(use -v to see invocation\)
(cc|clang): error: linker command failed with exit code 1 \(use -v to see invocation\)

View File

@@ -17,8 +17,9 @@ macro(run_cmake_and_build test)
-DCMake_TEST_Swift=${CMake_TEST_Swift})
set(RunCMake_TEST_BINARY_DIR ${RunCMake_BINARY_DIR}/${test}-build)
set(RunCMake_TEST_NO_CLEAN 1)
set(RunCMake_TEST_OUTPUT_MERGE 1)
run_cmake_command(${test}-build ${CMAKE_COMMAND} --build . --config Release --verbose ${ARGN})
unset(RunCMake_TEST_OUTPUT_MERGE)
unset(RunCMake_TEST_BINARY_DIR)
unset(RunCMake_TEST_NO_CLEAN)
endmacro()