HomeFreeBSD

testing: provide meaningful error when pytest is not available

Description

testing: provide meaningful error when pytest is not available

atf 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: kp
Differential Revision: https://reviews.freebsd.org/D35721

(cherry picked from commit 2bfd8b5b9419b0ceb3dd0295fdf413d32969e5b2)

Details

Provenance
melifaroAuthored on Jul 6 2022, 7:55 PM
Reviewer
kp
Differential Revision
D35721: testing: provide meaningful error when pytest is not available
Parents
rGcdd12f62eb32: testing: pass ATF vars to pytest via env instead of arguments.
Branches
Unknown
Tags
Unknown