2021-04-28 00:05:01

by Shuah Khan

[permalink] [raw]
Subject: [GIT PULL] KUnit update for Linux 5.13-rc1

Hi Linus,

Please pull the following KUnit update for Linux 5.13-rc1.

This KUnit update for Linux 5.13-rc1 consists of several fixes and
new feature to support failure from dynamic analysis tools such as
UBSAN and fake ops for testing.

- a fake ops struct for testing a "free" function to complain if it
was called with an invalid argument, or caught a double-free. Most
return void and have no normal means of signalling failure
(e.g. super_operations, iommu_ops, etc.).

diff is attached.

thanks,
-- Shuah

----------------------------------------------------------------
The following changes since commit a38fd8748464831584a19438cbb3082b5a2dab15:

Linux 5.12-rc2 (2021-03-05 17:33:41 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
tags/linux-kselftest-kunit-5.13-rc1

for you to fetch changes up to de2fcb3e62013738f22bbb42cbd757d9a242574e:

Documentation: kunit: add tips for using current->kunit_test
(2021-04-07 16:40:37 -0600)

----------------------------------------------------------------
linux-kselftest-kunit-5.13-rc1

This KUnit update for Linux 5.13-rc1 consists of several fixes and
new feature to support failure from dynamic analysis tools such as
UBSAN and fake ops for testing.

- a fake ops struct for testing a "free" function to complain if it
was called with an invalid argument, or caught a double-free. Most
return void and have no normal means of signalling failure
(e.g. super_operations, iommu_ops, etc.).

----------------------------------------------------------------
Daniel Latypov (4):
kunit: make KUNIT_EXPECT_STREQ() quote values, don't print literals
kunit: tool: make --kunitconfig accept dirs, add lib/kunit fragment
kunit: fix -Wunused-function warning for __kunit_fail_current_test
Documentation: kunit: add tips for using current->kunit_test

Lucas Stankus (1):
kunit: Match parenthesis alignment to improve code readability

Uriel Guajardo (1):
kunit: support failure from dynamic analysis tools

Documentation/dev-tools/kunit/tips.rst | 78
+++++++++++++++++++++++++++++++++-
include/kunit/test-bug.h | 29 +++++++++++++
lib/kunit/.kunitconfig | 3 ++
lib/kunit/assert.c | 61 ++++++++++++++++++--------
lib/kunit/test.c | 39 +++++++++++++++--
tools/testing/kunit/kunit.py | 4 +-
tools/testing/kunit/kunit_kernel.py | 2 +
tools/testing/kunit/kunit_tool_test.py | 6 +++
8 files changed, 198 insertions(+), 24 deletions(-)
create mode 100644 include/kunit/test-bug.h
create mode 100644 lib/kunit/.kunitconfig
----------------------------------------------------------------


Attachments:
linux-kselftest-kunit-5.13-rc1.diff (12.34 kB)

2021-04-28 02:07:20

by pr-tracker-bot

[permalink] [raw]
Subject: Re: [GIT PULL] KUnit update for Linux 5.13-rc1

The pull request you sent on Tue, 27 Apr 2021 18:03:42 -0600:

> git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux-kselftest-kunit-5.13-rc1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/1e9599dfc47a171f7ba76a9651fe86baab364af5

Thank you!

--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html