summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6f19ba5..c533f0e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -18,4 +18,12 @@
CMAKE_MINIMUM_REQUIRED(VERSION 3.7)
+include(CTest)
+enable_testing()
+
include(${CMAKE_CURRENT_SOURCE_DIR}/conf.d/cmake/config.cmake)
+
+ADD_TEST(NAME AFT_TESTS
+ WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
+ COMMAND afb-test -v test
+)