From 0048104e99a5f081c4202d2e48d335fdf942594e Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 2 Mar 2023 17:26:48 +0100 Subject: cmake: call add_test() on the test executable --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 359fc19a..89259c58 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -212,4 +212,6 @@ add_subdirectory(anim-crop-tool) install(DIRECTORY images anim scenery DESTINATION "share/floormat") fm_run_hook(fm-userconfig-post) -get_cmake_property(_variableNames VARIABLES) + +add_test(floormat-testsuite "${CMAKE_INSTALL_PREFIX}/bin/floormat-test") +enable_testing() -- cgit v1.2.3