From fbd3e8b000cc5bf0cb424935f485403e29b39a63 Mon Sep 17 00:00:00 2001 From: Marko Simovic Date: Thu, 13 Mar 2014 16:28:41 -0400 Subject: [PATCH] Modified cmake to generate 'make test' target: runs testeth binary --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) 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)