lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 21 Mar 2022 19:51:52 -0600
From:   Shuah Khan <skhan@...uxfoundation.org>
To:     Linus Torvalds <torvalds@...ux-foundation.org>
Cc:     Shuah Khan <skhan@...uxfoundation.org>,
        Brendan Higgins <brendanhiggins@...gle.com>,
        linux-kselftest@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [GIT PULL] KUnit update for Linux 5.18-rc1

Hi Linus,

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

This KUnit update for Linux 5.18-rc1 consists of:

- changes to decrease macro layering string, integer, EQ/NE asserts
- remove unused macros
- several cleanups and fixes
- new list tests for list_del_init_careful(), list_is_head() and
   list_entry_is_head()

diff is attached.

thanks,
-- Shuah

----------------------------------------------------------------
The following changes since commit e783362eb54cd99b2cac8b3a9aeac942e6f6ac07:

   Linux 5.17-rc1 (2022-01-23 10:12:53 +0200)

are available in the Git repository at:

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

for you to fetch changes up to 5debe5bfa02c4c8922bd2d0f82c9c3a70bec8944:

   list: test: Add a test for list_entry_is_head() (2022-02-25 08:39:01 -0700)

----------------------------------------------------------------
linux-kselftest-kunit-5.18-rc1

This KUnit update for Linux 5.18-rc1 consists of:

- changes to decrease macro layering string, integer, EQ/NE asserts
- remove unused macros
- several cleanups and fixes
- new list tests for list_del_init_careful(), list_is_head() and
   list_entry_is_head()

----------------------------------------------------------------
Daniel Latypov (16):
       kunit: add example test case showing off all the expect macros
       kunit: move check if assertion passed into the macros
       kunit: drop unused kunit* field in kunit_assert
       kunit: factor out kunit_base_assert_format() call into kunit_fail()
       kunit: split out part of kunit_assert into a static const
       kunit: drop unused assert_type from kunit_assert and clean up macros
       kunit: make KUNIT_EXPECT_EQ() use KUNIT_EXPECT_EQ_MSG(), etc.
       kunit: drop unused intermediate macros for ptr inequality checks
       kunit: reduce layering in string assertion macros
       kunit: decrease macro layering for integer asserts
       kunit: decrease macro layering for EQ/NE asserts
       kunit: tool: drop mostly unused KunitResult.result field
       kunit: remove va_format from kunit_assert
       kunit: consolidate KUNIT_INIT_BINARY_ASSERT_STRUCT macros
       kunit: factor out str constants from binary assertion structs
       kunit: cleanup assertion macro internal variables

David Gow (3):
       list: test: Add test for list_del_init_careful()
       list: test: Add a test for list_is_head()
       list: test: Add a test for list_entry_is_head()

  include/kunit/assert.h         | 220 ++++--------
  include/kunit/test.h           | 745 +++++++++++------------------------------
  lib/kunit/assert.c             |  80 ++---
  lib/kunit/kunit-example-test.c |  42 +++
  lib/kunit/test.c               |  35 +-
  lib/list-test.c                |  61 ++++
  tools/testing/kunit/kunit.py   |  24 +-
  7 files changed, 420 insertions(+), 787 deletions(-)
----------------------------------------------------------------

View attachment "linux-kselftest-kunit-5.18-rc1.diff" of type "text/x-patch" (71938 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ