From d62ed420d8f0b12895e60af29a4456f722585ce1 Mon Sep 17 00:00:00 2001 From: Paul Fultz II Date: Mon, 5 Nov 2018 11:13:04 -0600 Subject: [PATCH] Add a check target to cmake (#1465) --- test/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index e773769b5..3406d0370 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -23,4 +23,7 @@ if (BUILD_TESTS) add_test(NAME testrunner COMMAND testrunner WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}) + add_custom_target(check COMMAND $ -q WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}) + add_dependencies(check testrunner) + endif()