← Commit list

5364e6e60e

Viktor Szakats
Viktor Szakats
2026-06-01
SUCCESS Duration: 274s

Subject

cmake: add basic way to select pytests to run

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

tests/CMakeLists.txt+1 -1
@@ -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
)