Skip to content

Commit bec4e0b

Browse files
committed
Issue reproduced.
1 parent 22aa34c commit bec4e0b

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

test_filter.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
3+
4+
# Just for demo purposes... Probably don't want an in-tree build ;)
5+
mkdir -p build/
6+
cd build/
7+
cmake ../ -DPYBIND11_TEST_FILTER="test_smart_ptr.cpp;test_virtual_functions.cpp"
8+
cmake --build . --target check
9+
cd ../

tests/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ set(PYBIND11_TEST_FILES
128128
test_custom_type_casters
129129
test_custom_type_setup
130130
test_docstring_options
131+
test_z.py
131132
test_eigen
132133
test_enum
133134
test_eval
@@ -212,6 +213,9 @@ foreach(test_name ${PYBIND11_TEST_FILES})
212213
endforeach()
213214
set(PYBIND11_TEST_FILES ${PYBIND11_CPPTEST_FILES})
214215
list(SORT PYBIND11_PYTEST_FILES)
216+
message("PYTEST ${PYBIND11_PYTEST_FILES}")
217+
message("PYBIND11_TEST_FILES ${PYBIND11_TEST_FILES}")
218+
215219

216220
# Contains the set of test files that require pybind11_cross_module_tests to be
217221
# built; if none of these are built (i.e. because TEST_OVERRIDE is used and

0 commit comments

Comments
 (0)