Update Makefile.depend filesAfter building packages we have a number of newand updated Makefile.depend filesReviewed by: stevek
atf_pytest_wrapper: fix use with pytest-7.4As of pytest 7.4 it no longer walks all the way to the root directoryof the file system to find conftest files. As a result we don't find /usr/tests/con
atf_pytest_wrapper: fix use with pytest-7.4As of pytest 7.4 it no longer walks all the way to the root directoryof the file system to find conftest files. As a result we don't find /usr/tests/conftest.py, and don't load atf_python. That in turn causesatf_python tests to fail.Explicitly set the confcutdir, as advised by the pytest changelog.See also: https://github.com/pytest-dev/pytest/pull/11043MFC after: 3 weeksSponsored by: Orange Business ServicesDifferential Revision: https://reviews.freebsd.org/D41064
show more ...
atf_pytest_wrapper: fix pytest output truncationPass `-vv` to pytest in order to always get the full output.While here, enforce the modeline.Differential Revision: https://reviews.freebsd.org/D3
atf_pytest_wrapper: fix pytest output truncationPass `-vv` to pytest in order to always get the full output.While here, enforce the modeline.Differential Revision: https://reviews.freebsd.org/D37894MFC after: 2 weeks
testing: provide meaningful error when pytest is not availableatf format does not provide any way of signalling any error message back to the atf runner when listing tests. Work this around by re
testing: provide meaningful error when pytest is not availableatf format does not provide any way of signalling any error message back to the atf runner when listing tests. Work this around by reporting "__test_cases_list_pytest_binary_not_found__" test instead.Reviewed By: kpDifferential Revision: https://reviews.freebsd.org/D35721
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 spac
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: lwhsuDifferential Revision: https://reviews.freebsd.org/D35625MFC after: 2 weeks
testing: workaround pytest parser bug in pytest-atf-wrapper.Reviewed by: lwhsu, kpDifferential Revision: https://reviews.freebsd.org/D35614MFC after: 2 weeks
testing: move atf-pytest-wrapper to /usr/libexecMove pytest wrapper to the collection of the other atf wrappers in libexec. It solves the problem of combining bits & pieces from bsd.test.mk and b
testing: move atf-pytest-wrapper to /usr/libexecMove pytest wrapper to the collection of the other atf wrappers in libexec. It solves the problem of combining bits & pieces from bsd.test.mk and bgs.prog.mk to address "test binary, but not the suite binary".Reviewed by: kpDifferential Revision: https://reviews.freebsd.org/D35604MFC after: 2 weeks