projects
/
libstick.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Enable ctest, fix exit status of tests/tests
[libstick.git]
/
CMakeLists.txt
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index e6153031405e3cf7b57e2e334c62b27e54c42e7f..8969cb30776f56573a0ad2ceb95aa9ac4f12924c 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-28,6
+28,8
@@
add_subdirectory(lib)
if(WITH_UNITTESTS)
add_subdirectory(tests)
+ enable_testing()
+ add_test(NAME unittests COMMAND tests)
endif()