Hi Linus,
Please pull the following Kselftest Kunit update for Linux 5.7-rc1.
This kunit update for Linux-5.7-rc1 consists of:
- debugfs support for displaying kunit test suite results; this is especially useful for module-loaded tests to allow disentangling of test result display from other dmesg events. CONFIG_KUNIT_DEBUGFS enables/disables the debugfs support.
- Several fixes and improvements to kunit framework and tool.
diff is attached.
thanks, -- Shuah
---------------------------------------------------------------- The following changes since commit 2c523b344dfa65a3738e7039832044aa133c75fb:
Linux 5.6-rc5 (2020-03-08 17:44:44 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux-kselftest-kunit-5.7-rc1
for you to fetch changes up to e23349af9ee25a5760112a2f8476b94a4ec86f1c:
kunit: tool: add missing test data file content (2020-03-26 14:11:12 -0600)
---------------------------------------------------------------- linux-kselftest-kunit-5.7-rc1
This kunit update for Linux-5.7-rc1 consists of:
- debugfs support for displaying kunit test suite results; this is especially useful for module-loaded tests to allow disentangling of test result display from other dmesg events. CONFIG_KUNIT_DEBUGFS enables/disables the debugfs support.
- Several fixes and improvements to kunit framework and tool.
---------------------------------------------------------------- Alan Maguire (4): kunit: add debugfs /sys/kernel/debug/kunit/<suite>/results display kunit: add log test kunit: subtests should be indented 4 spaces according to TAP kunit: update documentation to describe debugfs representation
Brendan Higgins (1): kunit: tool: add missing test data file content
David Gow (4): kunit: Always print actual pointer values in asserts kunit: kunit_tool: Allow .kunitconfig to disable config items Fix linked-list KUnit test when run multiple times Documentation: kunit: Make the KUnit documentation less UML-specific
Greg Thelen (1): kunit: add --make_options
Heidi Fahim (2): kunit: kunit_parser: make parser more robust kunit: Run all KUnit tests through allyesconfig
Documentation/dev-tools/kunit/index.rst | 40 +++--- Documentation/dev-tools/kunit/kunit-tool.rst | 7 + Documentation/dev-tools/kunit/start.rst | 80 +++++++++-- Documentation/dev-tools/kunit/usage.rst | 14 ++ include/kunit/test.h | 63 +++++++-- lib/kunit/Kconfig | 8 ++ lib/kunit/Makefile | 4 + lib/kunit/assert.c | 79 +++++------ lib/kunit/debugfs.c | 116 ++++++++++++++++ lib/kunit/debugfs.h | 30 +++++ lib/kunit/kunit-test.c | 44 +++++- lib/kunit/test.c | 148 ++++++++++++++++----- lib/list-test.c | 4 +- tools/testing/kunit/.gitattributes | 1 + tools/testing/kunit/configs/broken_on_uml.config | 41 ++++++ tools/testing/kunit/kunit.py | 38 ++++-- tools/testing/kunit/kunit_config.py | 41 ++++-- tools/testing/kunit/kunit_kernel.py | 84 ++++++++---- tools/testing/kunit/kunit_parser.py | 51 +++---- tools/testing/kunit/kunit_tool_test.py | 108 ++++++++++++--- .../kunit/test_data/test_config_printk_time.log | Bin 0 -> 1584 bytes .../test_data/test_interrupted_tap_output.log | Bin 0 -> 1982 bytes .../test_data/test_kernel_panic_interrupt.log | Bin 0 -> 1321 bytes .../kunit/test_data/test_multiple_prefixes.log | Bin 0 -> 1832 bytes .../test_output_with_prefix_isolated_correctly.log | Bin 0 -> 1655 bytes .../kunit/test_data/test_pound_no_prefix.log | Bin 0 -> 1193 bytes tools/testing/kunit/test_data/test_pound_sign.log | Bin 0 -> 1656 bytes 27 files changed, 799 insertions(+), 202 deletions(-) create mode 100644 lib/kunit/debugfs.c create mode 100644 lib/kunit/debugfs.h create mode 100644 tools/testing/kunit/.gitattributes create mode 100644 tools/testing/kunit/configs/broken_on_uml.config create mode 100644 tools/testing/kunit/test_data/test_config_printk_time.log create mode 100644 tools/testing/kunit/test_data/test_interrupted_tap_output.log create mode 100644 tools/testing/kunit/test_data/test_kernel_panic_interrupt.log create mode 100644 tools/testing/kunit/test_data/test_multiple_prefixes.log create mode 100644 tools/testing/kunit/test_data/test_output_with_prefix_isolated_correctly.log create mode 100644 tools/testing/kunit/test_data/test_pound_no_prefix.log create mode 100644 tools/testing/kunit/test_data/test_pound_sign.log
----------------------------------------------------------------