run notcurses-info as part of ctest

This commit is contained in:
nick black 2021-06-22 18:26:23 -04:00
parent 2ed67f6ffc
commit 4758946a49
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -678,6 +678,10 @@ endif()
enable_testing() enable_testing()
# the accursed Ubuntu buildd sets "TERM=unknown" for unfathomable reasons # the accursed Ubuntu buildd sets "TERM=unknown" for unfathomable reasons
if(DEFINED ENV{TERM} AND NOT $ENV{TERM} STREQUAL "unknown" AND USE_POC) if(DEFINED ENV{TERM} AND NOT $ENV{TERM} STREQUAL "unknown" AND USE_POC)
add_test(
NAME notcurses-info
COMMAND notcurses-info
)
add_test( add_test(
NAME ncpp_build NAME ncpp_build
COMMAND ncpp_build COMMAND ncpp_build