build: remove tests for libtermkey (#21983)

The dependencies aren't set up properly meaning that this will cause a
failure on some systems such as void linux.

Closes https://github.com/neovim/neovim/issues/21982.
This commit is contained in:
dundargoc 2023-01-24 15:24:15 +01:00 committed by GitHub
parent a293598a97
commit 51863b2d66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,17 +20,4 @@ install(TARGETS termkey
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
enable_testing()
file(GLOB TESTSOURCES "t/[0-9]*.c")
foreach(f ${TESTSOURCES})
get_filename_component(t ${f} NAME_WE)
if(${t} STREQUAL 05read)
continue()
endif()
add_executable("test_${t}" ${f} t/taplib.c)
target_link_libraries("test_${t}" termkey)
add_test("${t}" "test_${t}")
endforeach()
# vim: set ft=cmake: