[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1ce88df5-31ca-7aba-d96d-92757b035d9a@linuxfoundation.org>
Date: Fri, 2 Jul 2021 10:09:18 -0600
From: Shuah Khan <skhan@...uxfoundation.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Brendan Higgins <brendanhiggins@...gle.com>,
linux-kselftest@...r.kernel.org, linux-kernel@...r.kernel.org,
Shuah Khan <skhan@...uxfoundation.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: [GIT PULL] KUnit update for Linux 5.14-rc1
Hi Linus,
Please pull the following KUnit update for Linux 5.14-rc1.
This KUnit update for Linux 5.14-rc1 consists of fixes and features:
-- add support for skipped tests
-- introduce kunit_kmalloc_array/kunit_kcalloc() helpers
-- add gnu_printf specifiers
-- add kunit_shutdown
-- add unit test for filtering suites by names
-- convert lib/test_list_sort.c to use KUnit
-- code organization moving default config to tools/testing/kunit
-- refactor of internal parser input handling
-- cleanups and updates to documentation
-- code cleanup related to casts
diff is attached.
Please note that the cast cleanups are in drivers area and you
will see updates to drivers/ files and kernel/sysctl-test.c
file.
thanks,
-- Shuah
----------------------------------------------------------------
The following changes since commit d07f6ca923ea0927a1024dfccafc5b53b61cfecc:
Linux 5.13-rc2 (2021-05-16 15:27: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-fixes-5.14-rc1
for you to fetch changes up to 1d71307a6f94df3750f8f884545a769e227172fe:
kunit: add unit test for filtering suites by names (2021-06-25
11:44:37 -0600)
----------------------------------------------------------------
linux-kselftest-kunit-fixes-5.14-rc1
This KUnit update for Linux 5.14-rc1 consists of fixes and features:
-- add support for skipped tests
-- introduce kunit_kmalloc_array/kunit_kcalloc() helpers
-- add gnu_printf specifiers
-- add kunit_shutdown
-- add unit test for filtering suites by names
-- convert lib/test_list_sort.c to use KUnit
-- code organization moving default config to tools/testing/kunit
-- refactor of internal parser input handling
-- cleanups and updates to documentation
-- code cleanup related to casts
----------------------------------------------------------------
Brendan Higgins (2):
Documentation: kunit: document support for QEMU in kunit_tool
kunit: tool: add support for QEMU
Daniel Latypov (5):
Documentation: kunit: add tips for running KUnit
kunit: introduce kunit_kmalloc_array/kunit_kcalloc() helpers
lib/test: convert lib/test_list_sort.c to use KUnit
kunit: tool: internal refactor of parser input handling
kunit: add unit test for filtering suites by names
David Gow (20):
Documentation: kunit: Update kunit_tool page
kunit: Fix result propagation for parameterised tests
kunit: Add 'kunit_shutdown' option
kunit: Do not typecheck binary assertions
kunit: Assign strings to 'const char*' in STREQ assertions
Documentation: kunit: Clean up some string casts in examples
device property: Remove some casts in property-entry-test
iio: Remove a cast in iio-test-format which is no longer required
mmc: sdhci-of-aspeed: Remove some unnecessary casts from KUnit tests
thunderbolt: test: Remove some casts which are no longer required
kernel/sysctl-test: Remove some casts which are no-longer required
lib/cmdline_kunit: Remove a cast which are no-longer required
kunit: Add gnu_printf specifiers
kunit: arch/um/configs: Enable KUNIT_ALL_TESTS by default
kunit: Move default config from arch/um -> tools/testing/kunit
kunit: Remove the unused all_tests.config
thunderbolt: test: Reinstate a few casts of bitfields
kunit: Support skipped tests
kunit: tool: Support skipped tests in kunit_tool
kunit: test: Add example tests which are always skipped
Marco Elver (1):
kasan: test: make use of kunit_skip()
Mauro Carvalho Chehab (1):
docs: dev-tools: kunit: don't use a table for docs name
Documentation/dev-tools/kunit/api/index.rst | 8 +-
Documentation/dev-tools/kunit/index.rst | 1 +
Documentation/dev-tools/kunit/kunit-tool.rst | 188 ++++++++++++++-
Documentation/dev-tools/kunit/running_tips.rst | 259
+++++++++++++++++++++
Documentation/dev-tools/kunit/start.rst | 4 +-
Documentation/dev-tools/kunit/usage.rst | 57 +++--
drivers/base/test/property-entry-test.c | 56 ++---
drivers/iio/test/iio-test-format.c | 2 +-
drivers/mmc/host/sdhci-of-aspeed-test.c | 34 +--
drivers/thunderbolt/test.c | 86 +++----
include/kunit/test.h | 116 +++++++--
kernel/sysctl-test.c | 24 +-
lib/Kconfig.debug | 5 +-
lib/cmdline_kunit.c | 2 +-
lib/kunit/debugfs.c | 2 +-
lib/kunit/executor.c | 53 +++--
lib/kunit/executor_test.c | 133 +++++++++++
lib/kunit/kunit-example-test.c | 31 +++
lib/kunit/kunit-test.c | 42 +++-
lib/kunit/string-stream.h | 6 +-
lib/kunit/test.c | 77 +++---
lib/test_kasan.c | 12 +-
lib/test_list_sort.c | 129 ++++------
tools/testing/kunit/configs/all_tests.config | 3 -
.../testing/kunit/configs/default.config | 2 +-
tools/testing/kunit/kunit.py | 57 ++++-
tools/testing/kunit/kunit_config.py | 7 +-
tools/testing/kunit/kunit_kernel.py | 179 +++++++++++---
tools/testing/kunit/kunit_parser.py | 217 +++++++++++------
tools/testing/kunit/kunit_tool_test.py | 58 +++--
tools/testing/kunit/qemu_config.py | 16 ++
tools/testing/kunit/qemu_configs/alpha.py | 10 +
tools/testing/kunit/qemu_configs/arm.py | 13 ++
tools/testing/kunit/qemu_configs/arm64.py | 12 +
tools/testing/kunit/qemu_configs/i386.py | 10 +
tools/testing/kunit/qemu_configs/powerpc.py | 12 +
tools/testing/kunit/qemu_configs/riscv.py | 31 +++
tools/testing/kunit/qemu_configs/s390.py | 14 ++
tools/testing/kunit/qemu_configs/sparc.py | 10 +
tools/testing/kunit/qemu_configs/x86_64.py | 10 +
.../kunit/test_data/test_skip_all_tests.log | 15 ++
tools/testing/kunit/test_data/test_skip_tests.log | 15 ++
42 files changed, 1609 insertions(+), 409 deletions(-)
create mode 100644 Documentation/dev-tools/kunit/running_tips.rst
create mode 100644 lib/kunit/executor_test.c
delete mode 100644 tools/testing/kunit/configs/all_tests.config
rename arch/um/configs/kunit_defconfig =>
tools/testing/kunit/configs/default.config (63%)
create mode 100644 tools/testing/kunit/qemu_config.py
create mode 100644 tools/testing/kunit/qemu_configs/alpha.py
create mode 100644 tools/testing/kunit/qemu_configs/arm.py
create mode 100644 tools/testing/kunit/qemu_configs/arm64.py
create mode 100644 tools/testing/kunit/qemu_configs/i386.py
create mode 100644 tools/testing/kunit/qemu_configs/powerpc.py
create mode 100644 tools/testing/kunit/qemu_configs/riscv.py
create mode 100644 tools/testing/kunit/qemu_configs/s390.py
create mode 100644 tools/testing/kunit/qemu_configs/sparc.py
create mode 100644 tools/testing/kunit/qemu_configs/x86_64.py
create mode 100644 tools/testing/kunit/test_dat/test_skip_all_tests.log
create mode 100644 tools/testing/kunit/test_data/test_skip_tests.log
----------------------------------------------------------------
View attachment "linux-kselftest-kunit-fixes-5.14-rc1.diff" of type "text/x-patch" (130854 bytes)
Powered by blists - more mailing lists