From f2935a23aa8d6f7873753a2e7b17aded3292a4ff Mon Sep 17 00:00:00 2001 From: nick black Date: Tue, 4 Jan 2022 20:42:34 -0500 Subject: [PATCH] run notcurses-input as part of ctest --- CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8a3a23e4c..1a14ca3a2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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(