[cmake] get notcurses-input run in ctest on drone

This commit is contained in:
nick black 2022-01-04 20:57:04 -05:00
parent f2935a23aa
commit 12e4570e03
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -873,13 +873,14 @@ add_test(
)
add_test(
NAME input-devnull
COMMAND sh -c "notcurses-input < /dev/null"
COMMAND sh -c "./notcurses-input < /dev/null"
)
add_test(
NAME input-self
COMMAND sh -c "notcurses-input < notcurses-input"
COMMAND sh -c "./notcurses-input < notcurses-input"
)
LIST(APPEND TESTBINS ncpp_build ncpp_build_exceptions)
add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND} DEPENDS notcurses-input)
LIST(APPEND TESTBINS ncpp_build ncpp_build_exceptions input-devnull input-self)
endif()
add_test(
NAME sgr-direct