run notcurses-input as part of ctest

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

View File

@ -871,6 +871,14 @@ add_test(
NAME ncpp_build_exceptions
COMMAND ncpp_build_exceptions
)
add_test(
NAME input-devnull
COMMAND sh -c "notcurses-input < /dev/null"
)
add_test(
NAME input-self
COMMAND sh -c "notcurses-input < notcurses-input"
)
LIST(APPEND TESTBINS ncpp_build ncpp_build_exceptions)
endif()
add_test(