summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-02 17:26:48 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-03-02 17:54:31 +0100
commit0048104e99a5f081c4202d2e48d335fdf942594e (patch)
treed9e43c6ee7bd5014fdde226c9486e6c2b0030930
parente0bcd845901c38261ca7c879ad877abade2661f6 (diff)
cmake: call add_test() on the test executable
-rw-r--r--CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
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()