Changing CMake file so that test_class_sh_module_local.py actually runs.

This commit is contained in:
Ralf W. Grosse-Kunstleve 2021-01-25 13:56:04 -08:00
parent 505cd35c2b
commit f19e80881c

View File

@ -164,6 +164,8 @@ if(PYBIND11_CUDA_TESTS)
endif()
string(REPLACE ".cpp" ".py" PYBIND11_PYTEST_FILES "${PYBIND11_TEST_FILES}")
list(APPEND PYBIND11_PYTEST_FILES test_class_sh_module_local.py)
list(SORT PYBIND11_PYTEST_FILES COMPARE NATURAL)
# Contains the set of test files that require pybind11_cross_module_tests to be
# built; if none of these are built (i.e. because TEST_OVERRIDE is used and