From bd5254b087bf38da5bd1aead7e32af508c0b12b4 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 22 Mar 2018 15:04:33 +0100 Subject: Compile and run tests --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index f6546cb2..07ba6d4b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -80,6 +80,10 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR}) # Add the libcrystfel target add_subdirectory(libcrystfel) +# Add tests +enable_testing() +add_subdirectory(tests) + # ---------------------------------------------------------------------- # Build Target # partial_sim -- cgit v1.2.3