diff --git a/CMakeLists.txt b/CMakeLists.txt index 4574ed621..de45df4c6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -153,6 +153,9 @@ if (NOT HEADLESS) add_subdirectory(walleth) endif () +enable_testing() +add_test(NAME alltests WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/test COMMAND testeth) + unset(HEADLESS CACHE) #unset(TARGET_PLATFORM CACHE)