mirror of
https://github.com/Kitware/CMake.git
synced 2026-11-06 13:27:09 +00:00
Refactor CTest's logging to replace custom color code handling with the
infrastructure introduced in commit 329d755dbd (StdIo: Add a Terminal
abstraction to print color text, 2025-05-06).
Avoid ANSI escape sequences in files passed to `--output-log-file`.
Fixes: #27915
8 lines
164 B
CMake
8 lines
164 B
CMake
include(CTest)
|
|
|
|
add_test(NAME OutputLogNoEscape-Pass
|
|
COMMAND ${CMAKE_COMMAND} -E true)
|
|
|
|
add_test(NAME OutputLogNoEscape-Fail
|
|
COMMAND ${CMAKE_COMMAND} -E false)
|