From 06b9397c721e899e5453c4c048dd8d0f87209ea3 Mon Sep 17 00:00:00 2001 From: Dean Moldovan Date: Sat, 17 Dec 2016 21:39:17 +0100 Subject: [PATCH] Add 'check' target to run all available tests --- tests/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 1229acc93..584c617b4 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -159,3 +159,6 @@ if(NOT CMAKE_VERSION VERSION_LESS 3.1) pybind11_add_build_test(installed_target INSTALL) endif() endif() + +# Run all the tests +add_custom_target(check DEPENDS pytest test_cmake_build)