File tree 1 file changed +4
-2
lines changed 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,8 @@ macro(pybind11_filter_tests LISTNAME)
36
36
list (FIND LIST_WITHOUT_EXTENSIONS ${filename_no_ext} _FILE_FOUND)
37
37
if (_FILE_FOUND GREATER -1)
38
38
list (REMOVE_AT ${LISTNAME} ${_FILE_FOUND} ) # And remove from the list with extensions.
39
- list (REMOVE_AT LIST_WITHOUT_EXTENSIONS ${_FILE_FOUND} ) # And our search list, to ensure it is in sync.
39
+ list (REMOVE_AT LIST_WITHOUT_EXTENSIONS ${_FILE_FOUND}
40
+ )# And our search list, to ensure it is in sync.
40
41
set (PYBIND11_FILTER_TESTS_FOUND ON )
41
42
endif ()
42
43
endforeach ()
@@ -181,7 +182,8 @@ if(PYBIND11_TEST_OVERRIDE)
181
182
string (REGEX REPLACE "\\ .[^.]*;" ";" TEST_FILES_NO_EXT "${PYBIND11_TEST_FILES} ;" )
182
183
# This allows the override to be done with extensions, preserving backwards compatibility.
183
184
foreach (test_name ${TEST_FILES_NO_EXT} )
184
- if (NOT ${test_name} IN_LIST TEST_OVERRIDE_NO_EXT) # If not in the whitelist, add to be filtered out.
185
+ if (NOT ${test_name} IN_LIST TEST_OVERRIDE_NO_EXT
186
+ )# If not in the whitelist, add to be filtered out.
185
187
list (APPEND PYBIND11_TEST_FILTER ${test_name} )
186
188
endif ()
187
189
endforeach ()
You can’t perform that action at this time.
0 commit comments