mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
feat(test_build_system): add buildv2_skip marker
This marker enables the skipping of tests that, for any reason, cannot be executed with the IDF build system version 2. It accepts an optional string argument that explains why the test cannot be run with version 2. If no explanation is provided, a default message is used. This marker is used in the `pytest_collection_modifyitems` hook to skip tests marked with it when the `--buildv2` pytest command line option is used. Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
This commit is contained in:
@@ -21,3 +21,4 @@ markers =
|
||||
idf_copy_with_space: ensures that destination directory where IDF is copied contain space
|
||||
force_temp_work_dir: force temporary folder as the working directory
|
||||
with_idf_components: automatically create/delete components under IDF_PATH
|
||||
buildv2_skip: mark the test to run only when the --buildv2 command line option is not used
|
||||
|
||||
Reference in New Issue
Block a user