Searched hist:"513 ce835b55831d343185e03a51efa2901405ac8" (Results 1 – 3 of 3) sorted by relevance
/freebsd/libexec/atf/atf-pytest-wrapper/ |
H A D | atf_pytest_wrapper.cpp | diff 513ce835b55831d343185e03a51efa2901405ac8 Tue Jun 28 12:49:41 CEST 2022 Alexander V. Chernikov <melifaro@FreeBSD.org> testing: pass ATF vars to pytest via env instead of arguments.
This change is a continuation of 9c42645a1e4d workaround. Apparently pytest argument parser is not happy when parsing values with spaces or just more than one --atf-var argument. Switch wrapper to send these kv pairs as env variables. Specifically, use _ATF_VAR_key=value format to distinguish from the other vars.
Add the `atf_vars` fixture returning all passed kv pairs as a dict.
Reviewed by: lwhsu Differential Revision: https://reviews.freebsd.org/D35625 MFC after: 2 weeks
|
/freebsd/tests/ |
H A D | conftest.py | diff 513ce835b55831d343185e03a51efa2901405ac8 Tue Jun 28 12:49:41 CEST 2022 Alexander V. Chernikov <melifaro@FreeBSD.org> testing: pass ATF vars to pytest via env instead of arguments.
This change is a continuation of 9c42645a1e4d workaround. Apparently pytest argument parser is not happy when parsing values with spaces or just more than one --atf-var argument. Switch wrapper to send these kv pairs as env variables. Specifically, use _ATF_VAR_key=value format to distinguish from the other vars.
Add the `atf_vars` fixture returning all passed kv pairs as a dict.
Reviewed by: lwhsu Differential Revision: https://reviews.freebsd.org/D35625 MFC after: 2 weeks
|
/freebsd/tests/atf_python/ |
H A D | atf_pytest.py | diff 513ce835b55831d343185e03a51efa2901405ac8 Tue Jun 28 12:49:41 CEST 2022 Alexander V. Chernikov <melifaro@FreeBSD.org> testing: pass ATF vars to pytest via env instead of arguments.
This change is a continuation of 9c42645a1e4d workaround. Apparently pytest argument parser is not happy when parsing values with spaces or just more than one --atf-var argument. Switch wrapper to send these kv pairs as env variables. Specifically, use _ATF_VAR_key=value format to distinguish from the other vars.
Add the `atf_vars` fixture returning all passed kv pairs as a dict.
Reviewed by: lwhsu Differential Revision: https://reviews.freebsd.org/D35625 MFC after: 2 weeks
|