Skip to content

Commit

Permalink
[cmake] get notcurses-input run in ctest on drone
Browse files Browse the repository at this point in the history
  • Loading branch information
dankamongmen committed Jan 5, 2022
1 parent f2935a2 commit 12e4570
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 12e4570

Please sign in to comment.