mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
Specify USES_TERMINAL for running tests/run.sh (#1331)
The documentation for CMake's add_custom_command()-command says the following for USES_TERMINAL: The command will be given direct access to the terminal if possible. With the ``Ninja`` generator, this places the command in the ``console`` ``pool``. The result is that one can see the progress of tests/run.sh, because messages appear immediately instead of delayed (instead all other parallel steps are delayed; in practice this means luacheck output appears only after tests/run.sh is done). Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
6a91dce425
commit
e2a791ab05
1 changed files with 1 additions and 0 deletions
|
@ -382,6 +382,7 @@ add_custom_target(check-integration
|
|||
sh -c "CMAKE_BINARY_DIR='${CMAKE_BINARY_DIR}' ${CMAKE_SOURCE_DIR}/tests/run.sh"
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
||||
COMMENT "Running integration tests"
|
||||
USES_TERMINAL
|
||||
VERBATIM)
|
||||
a_find_program(BUSTED_EXECUTABLE busted FALSE)
|
||||
if(BUSTED_EXECUTABLE)
|
||||
|
|
Loading…
Reference in a new issue