mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user