From e2a791ab05876eb8c19eccbb2ab5384254ccd112 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Fri, 30 Dec 2016 14:12:54 +0100 Subject: [PATCH] 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 --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9c982d80..5fb4e596 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)