/freebsd/sys/tests/ |
H A D | ktest_example.c | 3e5d0784b9b5296bda801add034b057ad68237f7 Fri Apr 14 17:25:50 CEST 2023 Alexander V. Chernikov <melifaro@FreeBSD.org> Testing: add framework for the kernel unit tests.
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
|
H A D | ktest.h | 3e5d0784b9b5296bda801add034b057ad68237f7 Fri Apr 14 17:25:50 CEST 2023 Alexander V. Chernikov <melifaro@FreeBSD.org> Testing: add framework for the kernel unit tests.
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
|
H A D | ktest.c | 3e5d0784b9b5296bda801add034b057ad68237f7 Fri Apr 14 17:25:50 CEST 2023 Alexander V. Chernikov <melifaro@FreeBSD.org> Testing: add framework for the kernel unit tests.
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
|
/freebsd/tests/examples/ |
H A D | test_ktest_example.py | 3e5d0784b9b5296bda801add034b057ad68237f7 Fri Apr 14 17:25:50 CEST 2023 Alexander V. Chernikov <melifaro@FreeBSD.org> Testing: add framework for the kernel unit tests.
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
|
H A D | Makefile | diff 3e5d0784b9b5296bda801add034b057ad68237f7 Fri Apr 14 17:25:50 CEST 2023 Alexander V. Chernikov <melifaro@FreeBSD.org> Testing: add framework for the kernel unit tests.
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
|
/freebsd/tests/atf_python/ |
H A D | ktest.py | 3e5d0784b9b5296bda801add034b057ad68237f7 Fri Apr 14 17:25:50 CEST 2023 Alexander V. Chernikov <melifaro@FreeBSD.org> Testing: add framework for the kernel unit tests.
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
|
H A D | Makefile | diff 3e5d0784b9b5296bda801add034b057ad68237f7 Fri Apr 14 17:25:50 CEST 2023 Alexander V. Chernikov <melifaro@FreeBSD.org> Testing: add framework for the kernel unit tests.
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
|
H A D | utils.py | diff 3e5d0784b9b5296bda801add034b057ad68237f7 Fri Apr 14 17:25:50 CEST 2023 Alexander V. Chernikov <melifaro@FreeBSD.org> Testing: add framework for the kernel unit tests.
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
|
H A D | atf_pytest.py | diff 3e5d0784b9b5296bda801add034b057ad68237f7 Fri Apr 14 17:25:50 CEST 2023 Alexander V. Chernikov <melifaro@FreeBSD.org> Testing: add framework for the kernel unit tests.
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
|
/freebsd/tests/atf_python/sys/netlink/ |
H A D | base_headers.py | diff 3e5d0784b9b5296bda801add034b057ad68237f7 Fri Apr 14 17:25:50 CEST 2023 Alexander V. Chernikov <melifaro@FreeBSD.org> Testing: add framework for the kernel unit tests.
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
|
H A D | netlink_generic.py | diff 3e5d0784b9b5296bda801add034b057ad68237f7 Fri Apr 14 17:25:50 CEST 2023 Alexander V. Chernikov <melifaro@FreeBSD.org> Testing: add framework for the kernel unit tests.
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
|
H A D | attrs.py | diff 3e5d0784b9b5296bda801add034b057ad68237f7 Fri Apr 14 17:25:50 CEST 2023 Alexander V. Chernikov <melifaro@FreeBSD.org> Testing: add framework for the kernel unit tests.
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
|
H A D | netlink.py | diff 3e5d0784b9b5296bda801add034b057ad68237f7 Fri Apr 14 17:25:50 CEST 2023 Alexander V. Chernikov <melifaro@FreeBSD.org> Testing: add framework for the kernel unit tests.
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
|
/freebsd/sys/modules/ktest/ |
H A D | Makefile | 3e5d0784b9b5296bda801add034b057ad68237f7 Fri Apr 14 17:25:50 CEST 2023 Alexander V. Chernikov <melifaro@FreeBSD.org> Testing: add framework for the kernel unit tests.
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
|
/freebsd/sys/modules/ktest/ktest/ |
H A D | Makefile | 3e5d0784b9b5296bda801add034b057ad68237f7 Fri Apr 14 17:25:50 CEST 2023 Alexander V. Chernikov <melifaro@FreeBSD.org> Testing: add framework for the kernel unit tests.
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
|
/freebsd/sys/modules/ktest/ktest_example/ |
H A D | Makefile | 3e5d0784b9b5296bda801add034b057ad68237f7 Fri Apr 14 17:25:50 CEST 2023 Alexander V. Chernikov <melifaro@FreeBSD.org> Testing: add framework for the kernel unit tests.
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
|
/freebsd/tests/ |
H A D | conftest.py | diff 3e5d0784b9b5296bda801add034b057ad68237f7 Fri Apr 14 17:25:50 CEST 2023 Alexander V. Chernikov <melifaro@FreeBSD.org> Testing: add framework for the kernel unit tests.
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
|