cmake: add basic way to select pytests to run
No binary (build failed)
—
(log yok)
| @@ -110,7 +110,7 @@ function(curl_add_pytests _targetname _test_flags) | |
| endif() | |
| string(REPLACE " " ";" _test_flags_list "${_test_flags}") | |
| add_custom_target(${_targetname} | |
| - | COMMAND pytest ${_test_flags_list} "${CMAKE_CURRENT_SOURCE_DIR}/http" |
| + | COMMAND pytest ${_test_flags_list} "${CMAKE_CURRENT_SOURCE_DIR}/http${_CURL_PYTEST}" |
| DEPENDS "${_depends}" | |
| VERBATIM USES_TERMINAL | |
| ) | |