freebsd-src/libexec/atf
Alexander V. Chernikov 513ce835b5 testing: pass ATF vars to pytest via env instead of arguments.
This change is a continuation of 9c42645a1e 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
2022-06-28 12:20:16 +00:00
..
atf-check pkgbase: Install atf and kyua in the tests package 2021-01-04 16:20:47 +01:00
atf-pytest-wrapper testing: pass ATF vars to pytest via env instead of arguments. 2022-06-28 12:20:16 +00:00
atf-sh pkgbase: Install atf and kyua in the tests package 2021-01-04 16:20:47 +01:00
tests Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
Makefile testing: move atf-pytest-wrapper to /usr/libexec 2022-06-26 13:25:47 +00:00
Makefile.inc Move atf-sh from /usr/bin/ to /usr/libexec/ 2014-06-06 18:58:06 +00:00