aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2017-06-20 06:35:37 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2017-06-20 06:35:37 +0200
commited67424ca711b998e4d194becc60710ac1946bc6 (patch)
tree76259ea883f4b5877ae3867564fc469c5de09a41 /CMakeLists.txt
parent61095da7c34d2f227d4d57eecc4e31aff1a6eee3 (diff)
downloadtermo-ed67424ca711b998e4d194becc60710ac1946bc6.tar.gz
termo-ed67424ca711b998e4d194becc60710ac1946bc6.tar.xz
termo-ed67424ca711b998e4d194becc60710ac1946bc6.zip
Put tests in a "namespace"
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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)