diff options
author | Craig Scott <craig.scott@crascit.com> | 2022-02-03 11:00:44 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-02-03 14:27:35 (GMT) |
commit | cbb87e0a2c467cc9349e0d3180a5d2942fbca4e7 (patch) | |
tree | 5147648bb518fa80df0a0b590007ca9147783e2a /Tests/RunCMake/ExternalProject/UsesTerminal-check.cmake | |
parent | 3d85c0072db6e97938b9fe7157483bcd41918b08 (diff) | |
download | CMake-cbb87e0a2c467cc9349e0d3180a5d2942fbca4e7.zip CMake-cbb87e0a2c467cc9349e0d3180a5d2942fbca4e7.tar.gz CMake-cbb87e0a2c467cc9349e0d3180a5d2942fbca4e7.tar.bz2 |
ExternalProject: Add support for USES_TERMINAL_PATCH keyword
This brings the patch step into line with all the others which already
had their own `USES_TERMINAL_<step>` keyword. All steps (including
patch) already have their own `LOG_<step>` keyword too, so the lack of
`USES_TERMINAL_PATCH` was inconsistent.
Diffstat (limited to 'Tests/RunCMake/ExternalProject/UsesTerminal-check.cmake')
-rw-r--r-- | Tests/RunCMake/ExternalProject/UsesTerminal-check.cmake | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Tests/RunCMake/ExternalProject/UsesTerminal-check.cmake b/Tests/RunCMake/ExternalProject/UsesTerminal-check.cmake index 201d822..2946c0b 100644 --- a/Tests/RunCMake/ExternalProject/UsesTerminal-check.cmake +++ b/Tests/RunCMake/ExternalProject/UsesTerminal-check.cmake @@ -37,10 +37,11 @@ endmacro() # Check Ninja build output to verify whether each target step is in the # console pool. macro(CheckNinjaTarget _target - _download _update _configure _build _test _install + _download _update _patch _configure _build _test _install ) CheckNinjaStep(${_target} download ${_download}) CheckNinjaStep(${_target} update ${_update}) + CheckNinjaStep(${_target} patch ${_patch}) CheckNinjaStep(${_target} configure ${_configure}) CheckNinjaStep(${_target} build ${_build}) CheckNinjaStep(${_target} test ${_test}) @@ -88,10 +89,10 @@ endif() # Actual tests: CheckNinjaTarget(TerminalTest1 - true true true true true true ) + true true true true true true true ) CheckNinjaTarget(TerminalTest2 - true false true false true false) + true false true false true false true) CheckNinjaTarget(TerminalTest3 - false true false true false true ) + false true false true false true false) CheckNinjaTarget(TerminalTest4 - false false false false false false) + false false false false false false false) |