mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-04 13:19:51 -05:00
48292c8624
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
106 lines
3.3 KiB
Plaintext
106 lines
3.3 KiB
Plaintext
^
|
|
---
|
|
events:
|
|
-
|
|
kind: "try_compile-v1"
|
|
backtrace:
|
|
- "[^"]*/Modules/CMakeDetermineCompilerABI.cmake:[0-9]+ \(try_compile\)"
|
|
- "[^"]*/Modules/CMakeTestCCompiler.cmake:[0-9]+ \(CMAKE_DETERMINE_COMPILER_ABI\)"
|
|
- "CMakeLists.txt:[0-9]+ \(project\)"
|
|
checks:
|
|
- "Detecting C compiler ABI info"
|
|
directories:
|
|
source: "[^"]*/Tests/RunCMake/try_run/ConfigureLog-build/CMakeFiles/CMakeScratch/TryCompile-[^/]+"
|
|
binary: "[^"]*/Tests/RunCMake/try_run/ConfigureLog-build/CMakeFiles/CMakeScratch/TryCompile-[^/]+"
|
|
buildResult:
|
|
variable: "CMAKE_C_ABI_COMPILED"
|
|
cached: true
|
|
stdout: \|.*
|
|
exitCode: 0
|
|
-
|
|
kind: "try_run-v1"
|
|
backtrace:
|
|
- "ConfigureLog.cmake:[0-9]+ \(try_run\)"
|
|
- "CMakeLists.txt:[0-9]+ \(include\)"
|
|
description: "Source that should not compile\."
|
|
directories:
|
|
source: "[^"]*/Tests/RunCMake/try_run/ConfigureLog-build/CMakeFiles/CMakeScratch/TryCompile-[^/]+"
|
|
binary: "[^"]*/Tests/RunCMake/try_run/ConfigureLog-build/CMakeFiles/CMakeScratch/TryCompile-[^/]+"
|
|
buildResult:
|
|
variable: "COMPILE_RESULT"
|
|
cached: true
|
|
stdout: \|.*
|
|
exitCode: [1-9][0-9]*
|
|
runResult:
|
|
variable: "RUN_RESULT"
|
|
cached: true
|
|
-
|
|
kind: "try_run-v1"
|
|
backtrace:
|
|
- "ConfigureLog.cmake:[0-9]+ \(try_run\)"
|
|
- "CMakeLists.txt:[0-9]+ \(include\)"
|
|
checks:
|
|
- "Check 1"
|
|
description: "Source that should compile\."
|
|
directories:
|
|
source: "[^"]*/Tests/RunCMake/try_run/ConfigureLog-build/CMakeFiles/CMakeScratch/TryCompile-[^/]+"
|
|
binary: "[^"]*/Tests/RunCMake/try_run/ConfigureLog-build/CMakeFiles/CMakeScratch/TryCompile-[^/]+"
|
|
buildResult:
|
|
variable: "COMPILE_RESULT"
|
|
cached: true
|
|
stdout: \|.*
|
|
exitCode: 0
|
|
runResult:
|
|
variable: "RUN_RESULT"
|
|
cached: true
|
|
stdout: \|
|
|
Output on stdout!
|
|
stderr: \|
|
|
Output, with backslash '\\\\', on stderr!
|
|
exitCode: 12
|
|
-
|
|
kind: "try_run-v1"
|
|
backtrace:
|
|
- "ConfigureLog.cmake:[0-9]+ \(try_run\)"
|
|
- "CMakeLists.txt:[0-9]+ \(include\)"
|
|
checks:
|
|
- "Check 2"
|
|
- "Check 1"
|
|
directories:
|
|
source: "[^"]*/Tests/RunCMake/try_run/ConfigureLog-build/CMakeFiles/CMakeScratch/TryCompile-[^/]+"
|
|
binary: "[^"]*/Tests/RunCMake/try_run/ConfigureLog-build/CMakeFiles/CMakeScratch/TryCompile-[^/]+"
|
|
buildResult:
|
|
variable: "COMPILE_RESULT"
|
|
cached: true
|
|
stdout: \|.*
|
|
exitCode: 0
|
|
runResult:
|
|
variable: "RUN_RESULT"
|
|
cached: true
|
|
stdout: \|
|
|
Output, with backslash '\\\\', on stderr!
|
|
Output on stdout!
|
|
exitCode: 12
|
|
-
|
|
kind: "try_run-v1"
|
|
backtrace:
|
|
- "ConfigureLog.cmake:[0-9]+ \(try_run\)"
|
|
- "CMakeLists.txt:[0-9]+ \(include\)"
|
|
directories:
|
|
source: "[^"]*/Tests/RunCMake/try_run/ConfigureLog-build/CMakeFiles/CMakeScratch/TryCompile-[^/]+"
|
|
binary: "[^"]*/Tests/RunCMake/try_run/ConfigureLog-build/CMakeFiles/CMakeScratch/TryCompile-[^/]+"
|
|
buildResult:
|
|
variable: "COMPILE_RESULT"
|
|
cached: true
|
|
stdout: \|.*
|
|
exitCode: 0
|
|
runResult:
|
|
variable: "RUN_RESULT"
|
|
cached: true
|
|
stdout: \|
|
|
Output on stdout!
|
|
stderr: \|
|
|
Output, with backslash '\\\\', on stderr!
|
|
exitCode: 12
|
|
\.\.\.$
|