| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | tests: move atf_python/sys/ into the tests package | Lexi Winter | 2024-04-29 | 1 | -0/+1 |
| | | | | | | | | | Reviewed by: markj MFC after: 1 week Pull Request: https://github.com/freebsd/freebsd-src/pull/1174 (cherry picked from commit e1e636193db45630c7881246d25902e57c43d24e) | ||||
| * | ipfw(8): add ioctl/instruction generation tests | Alexander V. Chernikov | 2023-06-13 | 1 | -1/+1 |
| | | | | | | Differential Revision: https://reviews.freebsd.org/D40488 MFC after: 2 weeks | ||||
| * | tests: split netlink.py into multiple files to impove maintainability. | Alexander V. Chernikov | 2023-04-01 | 1 | -1/+1 |
| | | | | | | | | | | | This diff does not contain any functional changes. Its sole purpose is splitting netlink.py into smaller chunks. The new code simplifies the upcoming generic netlink support introduction. MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D39365 | ||||
| * | testing: Add basic atf support to pytest. | Alexander V. Chernikov | 2022-06-25 | 1 | -0/+11 |
| Implementation consists of the pytest plugin implementing ATF format and a simple C++ wrapper, which reorders the provided arguments from ATF format to the format understandable by pytest. Each test has this wrapper specified after the shebang. When kyua executes the test, wrapper calls pytest, which loads atf plugin, does the work and returns the result. Additionally, a separate python "package", `/usr/tests/atf_python` has been added to collect code that may be useful across different tests. Current limitations: * Opaque metadata passing via X-Name properties. Require some fixtures to write * `-s srcdir` parameter passed by the runner is ignored. * No `atf-c-api(3)` or similar - relying on pytest framework & existing python libraries * No support for `atf_tc_<get|has>_config_var()` & `atf_tc_set_md_var()`. Can be probably implemented with env variables & autoload fixtures Differential Revision: https://reviews.freebsd.org/D31084 Reviewed by: kp, ngie | |||||
