[CMake] don't run long binary input test

This commit is contained in:
nick black 2022-01-08 00:36:47 -05:00
parent abd5080810
commit 76afcbd8ed
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -876,18 +876,13 @@ add_test(
NAME input-devnull NAME input-devnull
COMMAND sh -c "./notcurses-input -v < /dev/null" COMMAND sh -c "./notcurses-input -v < /dev/null"
) )
# provide a binary file
add_test(
NAME input-binary
COMMAND sh -c "./notcurses-input -v < notcurses-input"
)
# provide an ASCII file # provide an ASCII file
add_test( add_test(
NAME input-text NAME input-text
COMMAND sh -c "./notcurses-input < ${CMAKE_SOURCE_DIR}/COPYRIGHT" COMMAND sh -c "./notcurses-input < ${CMAKE_SOURCE_DIR}/COPYRIGHT"
) )
add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND} DEPENDS notcurses-input) add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND} DEPENDS notcurses-input)
LIST(APPEND TESTBINS ncpp_build ncpp_build_exceptions input-devnull input-binary input-text) LIST(APPEND TESTBINS ncpp_build ncpp_build_exceptions input-devnull input-text)
endif() endif()
add_test( add_test(
NAME sgr-direct NAME sgr-direct