mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
![Alexander V. Chernikov](/assets/img/avatar_default.png)
This changes intends to reduce the bar to the kernel unit-testing by introducing a new kernel-testing framework ("ktest") based on Netlink, loadable test modules and python test suite integration. This framework provides the following features: * Integration to the FreeBSD test suite * Automatic test discovery * Automatic test module loading * Minimal boiler-plate code in both kernel and userland * Passing any metadata to the test * Convenient environment pre-setup using python testing framework * Streaming messages from the kernel to the userland * Running tests in the dedicated taskqueues * Skipping or parametrizing tests Differential Revision: https://reviews.freebsd.org/D39385 MFC after: 2 weeks
13 lines
188 B
Makefile
13 lines
188 B
Makefile
.include <src.opts.mk>
|
|
|
|
.PATH: ${.CURDIR}
|
|
|
|
FILES= __init__.py atf_pytest.py ktest.py utils.py
|
|
SUBDIR= sys
|
|
|
|
.include <bsd.own.mk>
|
|
FILESDIR= ${TESTSBASE}/atf_python
|
|
|
|
|
|
.include <bsd.prog.mk>
|