Skip to content

Commit 06b9397

Browse files
dean0x7dwjakob
authored andcommitted
Add 'check' target to run all available tests
1 parent 71e8a79 commit 06b9397

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,3 +159,6 @@ if(NOT CMAKE_VERSION VERSION_LESS 3.1)
159159
pybind11_add_build_test(installed_target INSTALL)
160160
endif()
161161
endif()
162+
163+
# Run all the tests
164+
add_custom_target(check DEPENDS pytest test_cmake_build)

0 commit comments

Comments
 (0)