!
This series looks good to me. Tests are passed both built-in and as modules.
One comment: The second patch in the series "[PATCH v2 2/6] lib/math:
Add int_log test suite" applies with a warning of an extra EOF blank
line.
Other than that small nit,
Reviewed-by: Rae Moar
Tha
test_suite
Signed-off-by: Rae Moar
---
lib/kunit/attributes.c| 23 --
lib/kunit/debugfs.c | 2 +-
lib/kunit/test.c | 9 +--
tools/testing/kunit/kunit_parser.py | 79 +--
tools/testing/kunit
converting to/from KTAP to this
pretty-print output.
Signed-off-by: Rae Moar
---
tools/testing/kunit/kunit.py | 14 --
tools/testing/kunit/kunit_parser.py| 25 +
tools/testing/kunit/kunit_tool_test.py | 6 +++---
3 files changed, 40 insertions(+), 5
From: David Gow
Allow only printing the summary at the end of a test run, rather than all
individual test results. This summary will list a few failing tests if
there are any.
To use:
./tools/testing/kunit/kunit.py run --summary
Signed-off-by: Rae Moar
Signed-off-by: David Gow
---
Changes
trusive tests.
>
> The option is set to true by default to preserve the existent behavior. It
> can be overridden by either the corresponding module option or by the
> corresponding config build option.
>
> Signed-off-by: Stanislav Kinsburskii
Hello,
This looks good to m
From: David Gow
Allow only printing the summary at the end of a test run, rather than all
individual test results. This summary will list a few failing tests if
there are any.
To use:
./tools/testing/kunit/kunit.py run --summary
Signed-off-by: Rae Moar
Signed-off-by: David Gow
---
tools
converting to/from KTAP to this
pretty-print output.
Signed-off-by: Rae Moar
---
tools/testing/kunit/kunit.py | 14 --
tools/testing/kunit/kunit_parser.py| 25 +
tools/testing/kunit/kunit_tool_test.py | 6 +++---
3 files changed, 40 insertions(+), 5
On Thu, Oct 17, 2024 at 5:34 PM Stanislav Kinsburskii
wrote:
>
> The new option controls tests run on boot or module load. With the new
> debugfs "run" dentry allowing to run tests on demand, an ability to disable
> automatic tests run becomes a useful option in case of intrusive tests.
>
> The op
dd the lib/tests directory
hasn't landed in the kselftest/kunit branch so this patch doesn't
apply cleanly. Since we are planning on taking this patch through that
branch, could you switch the files to be lib/Makefile and
lib/llist_kunit.c for now. And we can move them in the great migrat
On Tue, Sep 3, 2024 at 5:38 PM Diego Vieira
wrote:
>
> Add KUnit tests for the kfifo data structure.
> They test the vast majority of macros defined in the kfifo
> header (include/linux/kfifo.h).
>
> These are inspired by the existing tests for the doubly
> linked list in lib/tests/list-test.c (pr
On Tue, Sep 3, 2024 at 5:40 PM Artur Alves wrote:
>
> Add KUnit tests for the llist data structure. They test the vast
> majority of methods and macros defined in include/linux/llist.h.
>
> These are inspired by the existing tests for the 'list' doubly
> linked in lib/list-test.c [1]. Each test ca
11 matches
Mail list logo