aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2017-10-07 14:06:00 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2017-10-07 14:06:00 +0200
commitddebcb953662c817461852689dd6f694418a55c5 (patch)
tree0c6844cf50117096e78596dbb6d84c8091fa2e1d /CMakeLists.txt
parent44548b27880371c5fc927b6c463d693f03e2e5d1 (diff)
downloadlibnitrokey-ddebcb953662c817461852689dd6f694418a55c5.tar.gz
libnitrokey-ddebcb953662c817461852689dd6f694418a55c5.tar.bz2
Add C++ offline tests and set them default
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d28425a..1248e23 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -150,11 +150,14 @@ IF (COMPILE_TESTS)
add_executable (test_issues unittest/test_issues.cc)
target_link_libraries (test_issues ${EXTRA_LIBS} ${LIBNAME}-log catch)
+ add_executable (test_offline unittest/test_offline.cc)
+ target_link_libraries (test_offline ${EXTRA_LIBS} ${LIBNAME}-log catch)
+
#run with 'make test' or 'ctest'
#needs connected PRO device for success
#warning: it may delete data on the device
include (CTest)
- add_test (runs test_C_API)
+ add_test (runs test_offline)
ENDIF()