Skip to content

Commit 3183d56

Browse files
committed
Revert "Remove all PYBIND11_TEST_FILES except test_exceptions, test_gil_scoped"
This reverts commit 55c4ea1.
1 parent 55c4ea1 commit 3183d56

File tree

2 files changed

+44
-1
lines changed

2 files changed

+44
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ jobs:
7979
-DDOWNLOAD_CATCH=ON
8080
-DDOWNLOAD_EIGEN=ON
8181
-DCMAKE_CXX_STANDARD=11
82+
-DPYBIND11_TEST_FILTER="test_gil_scoped.cpp"
8283
8384
- name: Build C++11
8485
run: cmake --build . -j 2

tests/CMakeLists.txt

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,49 @@ endif()
114114
# Full set of test files (you can override these; see below, overrides ignore extension)
115115
# Any test that has no extension is both .py and .cpp, so 'foo' will add 'foo.cpp' and 'foo.py'.
116116
# Any test that has an extension is exclusively that and handled as such.
117-
set(PYBIND11_TEST_FILES test_exceptions test_gil_scoped)
117+
set(PYBIND11_TEST_FILES
118+
test_async
119+
test_buffers
120+
test_builtin_casters
121+
test_call_policies
122+
test_callbacks
123+
test_chrono
124+
test_class
125+
test_const_name
126+
test_constants_and_functions
127+
test_copy_move
128+
test_custom_type_casters
129+
test_custom_type_setup
130+
test_docstring_options
131+
test_eigen_matrix
132+
test_eigen_tensor
133+
test_eigen_tensor_avoid_stl_array.cpp
134+
test_enum
135+
test_eval
136+
test_exceptions
137+
test_factory_constructors
138+
test_gil_scoped
139+
test_iostream
140+
test_kwargs_and_defaults
141+
test_local_bindings
142+
test_methods_and_attributes
143+
test_modules
144+
test_multiple_inheritance
145+
test_numpy_array
146+
test_numpy_dtypes
147+
test_numpy_vectorize
148+
test_opaque_types
149+
test_operator_overloading
150+
test_pickling
151+
test_pytypes
152+
test_sequences_and_iterators
153+
test_smart_ptr
154+
test_stl
155+
test_stl_binders
156+
test_tagbased_polymorphic
157+
test_thread
158+
test_union
159+
test_virtual_functions)
118160

119161
# Invoking cmake with something like:
120162
# cmake -DPYBIND11_TEST_OVERRIDE="test_callbacks.cpp;test_pickling.cpp" ..

0 commit comments

Comments
 (0)