Add 'check' target to run all available tests

This commit is contained in:
Dean Moldovan 2016-12-17 21:39:17 +01:00 committed by Wenzel Jakob
parent 71e8a7962c
commit 06b9397c72

View File

@ -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)