Skip to content

Commit 5b7c1f4

Browse files
pccrocallahan
authored andcommitted
Set USES_TERMINAL on check/fastcheck custom commands
This causes ctest to be given direct access to the terminal when using the ninja generator.
1 parent 858a036 commit 5b7c1f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -2060,9 +2060,9 @@ if(NOT N EQUAL 0)
20602060
set(JFLAG -j${N})
20612061
endif()
20622062

2063-
add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND} --verbose ${JFLAG})
2063+
add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND} --verbose ${JFLAG} USES_TERMINAL)
20642064
# Run only syscallbuf-enabled and native-bitness tests
2065-
add_custom_target(fastcheck COMMAND ${CMAKE_CTEST_COMMAND} --verbose --exclude-regex '[-]' ${JFLAG})
2065+
add_custom_target(fastcheck COMMAND ${CMAKE_CTEST_COMMAND} --verbose --exclude-regex '[-]' ${JFLAG} USES_TERMINAL)
20662066

20672067
##--------------------------------------------------
20682068
## Package configuration

0 commit comments

Comments
 (0)