summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/try_compile/ConfigureLog-config.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-01-16 19:41:19 (GMT)
committerBrad King <brad.king@kitware.com>2023-01-18 22:59:10 (GMT)
commitf6ed2585e595305d4866e4128bf98e9236b6ecd2 (patch)
treee8d924affc5a2e563038719cc0e20b15ee958fd0 /Tests/RunCMake/try_compile/ConfigureLog-config.txt
parent0f688386eabafb1e70a172004df8be4d9dc1d037 (diff)
downloadCMake-f6ed2585e595305d4866e4128bf98e9236b6ecd2.zip
CMake-f6ed2585e595305d4866e4128bf98e9236b6ecd2.tar.gz
CMake-f6ed2585e595305d4866e4128bf98e9236b6ecd2.tar.bz2
Modules: Record system inspection steps in the configure log
Replace old-style `file(APPEND .../CMake{Output,Error}.log)` logging with calls to `message(CONFIGURE_LOG)` to record the steps in the `CMakeConfigureLog.yaml` configure log instead. Issue: #23200
Diffstat (limited to 'Tests/RunCMake/try_compile/ConfigureLog-config.txt')
-rw-r--r--Tests/RunCMake/try_compile/ConfigureLog-config.txt18
1 files changed, 16 insertions, 2 deletions
diff --git a/Tests/RunCMake/try_compile/ConfigureLog-config.txt b/Tests/RunCMake/try_compile/ConfigureLog-config.txt
index 262ed3c..1f848bf 100644
--- a/Tests/RunCMake/try_compile/ConfigureLog-config.txt
+++ b/Tests/RunCMake/try_compile/ConfigureLog-config.txt
@@ -1,6 +1,13 @@
^
---
-events:
+events:(
+ -
+ kind: "message-v1"
+ backtrace:(
+ - "[^"]+")+
+ message: \|(
++ [^
+]*)*)+
-
kind: "try_compile-v1"
backtrace:
@@ -17,7 +24,14 @@ events:
variable: "CMAKE_C_ABI_COMPILED"
cached: true
stdout: \|.*
- exitCode: 0
+ exitCode: 0(
+ -
+ kind: "message-v1"
+ backtrace:(
+ - "[^"]+")+
+ message: \|(
++ [^
+]*)*)*
-
kind: "try_compile-v1"
backtrace: