Lines Matching full:kunit
9 KUnit is a unit testing framework. Autotest, kselftest (and some others) are
25 Does KUnit support running on architectures other than UML?
30 For the most part, the KUnit core framework (what we use to write the tests)
33 module is loaded. However, there is infrastructure, like the KUnit Wrapper
34 (``tools/testing/kunit/kunit.py``) that might not support some architectures
35 (see :ref:`kunit-on-qemu`).
37 In short, yes, you can run KUnit on other architectures, but it might require
38 more work than using KUnit on UML.
40 For more information, see :ref:`kunit-on-non-uml`.
67 KUnit is not working, what should I do?
73 1. Run ``./tools/testing/kunit/kunit.py run`` with the ``--raw_output``
76 2. Instead of running ``kunit.py run``, try running ``kunit.py config``,
77 ``kunit.py build``, and ``kunit.py exec`` independently. This can help track
79 can run it manually against ``stdin`` or a file with ``kunit.py parse``.)
82 after building the UML kernel (for example, by using ``kunit.py build``).
89 around, so you can see what config was used after running ``kunit.py run``.
93 5. Try to run ``make ARCH=um defconfig`` before running ``kunit.py run``. This
95 6. Finally, try running KUnit outside UML. KUnit and KUnit tests can be
100 can be collected from ``/sys/kernel/debug/kunit/<test suite>/results``, and
101 can be parsed with ``kunit.py parse``. For more details, see :ref:`kunit-on-qemu`.
104 kunit-dev@googlegroups.com.