mirror of
https://github.com/RYDE-WORK/pybind11.git
synced 2026-02-06 07:23:23 +08:00
Replace "whitelist" with "allowlist" (#4506)
This commit is contained in:
parent
b8f28551cc
commit
531144dddc
@ -169,7 +169,7 @@ if(PYBIND11_TEST_OVERRIDE)
|
|||||||
# This allows the override to be done with extensions, preserving backwards compatibility.
|
# This allows the override to be done with extensions, preserving backwards compatibility.
|
||||||
foreach(test_name ${TEST_FILES_NO_EXT})
|
foreach(test_name ${TEST_FILES_NO_EXT})
|
||||||
if(NOT ${test_name} IN_LIST TEST_OVERRIDE_NO_EXT
|
if(NOT ${test_name} IN_LIST TEST_OVERRIDE_NO_EXT
|
||||||
)# If not in the whitelist, add to be filtered out.
|
)# If not in the allowlist, add to be filtered out.
|
||||||
list(APPEND PYBIND11_TEST_FILTER ${test_name})
|
list(APPEND PYBIND11_TEST_FILTER ${test_name})
|
||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user