diff options
author | Brad King <brad.king@kitware.com> | 2023-01-13 16:55:56 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-01-16 22:18:07 (GMT) |
commit | 48292c8624b901a842b6d4f8a88ca00f898e5639 (patch) | |
tree | 3fe69130b088d51d082fb842d6d3688c874455a9 /Tests/RunCMake/try_compile/ConfigureLog-config.txt | |
parent | d4bf7d80c618930e6b88c35d271a5b0a0656bb7b (diff) | |
download | CMake-48292c8624b901a842b6d4f8a88ca00f898e5639.zip CMake-48292c8624b901a842b6d4f8a88ca00f898e5639.tar.gz CMake-48292c8624b901a842b6d4f8a88ca00f898e5639.tar.bz2 |
try_compile: Record stack of in-progess checks in configure log
Many `try_compile` and `try_run` calls occur inside check modules
between `message(CHECK_START)` and `message(CHECK_{PASS,FAIL})` pairs.
Add a field to configure log entries to report this context.
Issue: #23200
Diffstat (limited to 'Tests/RunCMake/try_compile/ConfigureLog-config.txt')
-rw-r--r-- | Tests/RunCMake/try_compile/ConfigureLog-config.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/try_compile/ConfigureLog-config.txt b/Tests/RunCMake/try_compile/ConfigureLog-config.txt index caf8a71..262ed3c 100644 --- a/Tests/RunCMake/try_compile/ConfigureLog-config.txt +++ b/Tests/RunCMake/try_compile/ConfigureLog-config.txt @@ -8,6 +8,8 @@ events: - "[^"]*/Modules/CMakeTestCCompiler.cmake:[0-9]+ \(CMAKE_DETERMINE_COMPILER_ABI\)" - "ConfigureLog.cmake:[0-9]+ \(enable_language\)" - "CMakeLists.txt:[0-9]+ \(include\)" + checks: + - "Detecting C compiler ABI info" directories: source: "[^"]*/Tests/RunCMake/try_compile/ConfigureLog-build/CMakeFiles/CMakeScratch/TryCompile-[^/]+" binary: "[^"]*/Tests/RunCMake/try_compile/ConfigureLog-build/CMakeFiles/CMakeScratch/TryCompile-[^/]+" @@ -35,6 +37,9 @@ events: backtrace: - "ConfigureLog.cmake:[0-9]+ \(try_compile\)" - "CMakeLists.txt:[0-9]+ \(include\)" + checks: + - "Check 2" + - "Check 1" description: "Source that should compile\." directories: source: "[^"]*/Tests/RunCMake/try_compile/ConfigureLog-build/CMakeFiles/CMakeScratch/TryCompile-[^/]+" |