Files
CMake/Tests/RunCMake/try_run/ConfigureLog-config.txt
T
Ben Boeckel a3f273b657 cmFindBase: Create find-v1 configure log events
Record `find_` command events in the configure log, except
`find_package` as it is far more complicated (and will have its own
event kind).

Note that testing only generates the events of interest, there is no
verification. Also note that testing that the "found" to "notfound"
transition causes an event is not testable because a truthy value in the
variable skips any kind of verification or other logic beyond
normalization.

Co-Authored-by: Ryan Krattiger <ryan.krattiger@kitware.com>
See: #24833
2025-04-28 13:55:36 +02:00

167 lines
4.3 KiB
Plaintext

^
---
events:(
-
kind: "message-v1"
backtrace:(
- "[^"]+")+
message: \|(
+ [^
]*)*|
-
kind: "find-v1"
backtrace:(
- "[^"]+")+
mode: "[^"]*"
variable: "[^"]*"
description: "[^"]*"
settings:(
[A-Za-z_]+: (true|false|"(NEVER|ONLY|FIRST|LAST)"))+
names:(
- "[^"]+")+
candidate_directories:(
- "[^"]+")*
searched_directories:(
- "[^"]+")*
found: (false|"[^"]*"))+
-
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-[^/"]+"
cmakeVariables:(
CMAKE_[^
]*)+
buildResult:
variable: "CMAKE_C_ABI_COMPILED"
cached: true
stdout: \|.*
exitCode: 0(
-
kind: "message-v1"
backtrace:(
- "[^"]+")+
message: \|(
+ [^
]*)*|
-
kind: "find-v1"
backtrace:(
- "[^"]+")+
mode: "[^"]*"
variable: "[^"]*"
description: "[^"]*"
settings:(
[A-Za-z_]+: (true|false|"(NEVER|ONLY|FIRST|LAST)"))+
names:(
- "[^"]+")+
candidate_directories:(
- "[^"]+")*
searched_directories:(
- "[^"]+")*
found: (false|"[^"]*"))*
-
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-[^/"]+"
cmakeVariables:(
CMAKE_[^
]*)+
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-[^/"]+"
cmakeVariables:(
CMAKE_[^
]*)+
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-[^/"]+"
cmakeVariables:(
CMAKE_[^
]*)+
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-[^/"]+"
cmakeVariables:(
CMAKE_[^
]*)+
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
\.\.\.$