Tests/RunCMake/GoogleTest: Tolerate spurious reconfigure on AIX

On some AIX filesystems, running the build system immediately re-runs
CMake due to timestamp jitter.  Tolerate the resulting output from the
build step.
This commit is contained in:
Brad King
2026-07-22 11:46:33 -04:00
parent 8a91ba20a5
commit 7bf369a59e
@@ -476,12 +476,14 @@ function(run_GoogleTest_discovery_duplicate)
run_cmake(GoogleTestDiscoveryDuplicate)
set(RunCMake_TEST_NO_CLEAN 1)
set(RunCMake_TEST_OUTPUT_MERGE 1)
run_cmake_command(GoogleTest-discovery-duplicate-build
${CMAKE_COMMAND}
--build .
--config Debug
--target fake_gtest
)
unset(RunCMake_TEST_OUTPUT_MERGE)
endfunction()
foreach(DISCOVERY_MODE POST_BUILD PRE_TEST)