From ed67424ca711b998e4d194becc60710ac1946bc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Janouch?= Date: Tue, 20 Jun 2017 06:35:37 +0200 Subject: [PATCH] Put tests in a "namespace" --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9975813..f12a6cf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -156,7 +156,7 @@ if (BUILD_TESTING) foreach (name ${project_tests}) add_executable (test-${name} tests/${name}.c ${test_common_sources}) target_link_libraries (test-${name} termo-static ${lib_libraries}) - add_test (test-${name} test-${name}) + add_test (NAME ${PROJECT_NAME}.${name} COMMAND test-${name}) endforeach (name) endif (BUILD_TESTING)