mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 17:19:03 -04:00
[CMake] don't run long binary input test
This commit is contained in:
parent
abd5080810
commit
76afcbd8ed
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user