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, 12 Dec 2022 15:07:05 -0700
From:   Shuah Khan <skhan@...uxfoundation.org>
To:     Linus Torvalds <torvalds@...ux-foundation.org>
Cc:     Shuah Khan <skhan@...uxfoundation.org>,
        Brendan Higgins <brendanhiggins@...gle.com>,
        David Gow <davidgow@...gle.com>,
        John Johansen <john.johansen@...onical.com>,
        Stephen Rothwell <sfr@...b.auug.org.au>,
        linux-kernel@...r.kernel.org, linux-kselftest@...r.kernel.org
Subject: [GIT PULL] KUnit next update for Linux 6.2-rc1

Hi Linus,

Please pull the following KUnit next update for Linux 6.2-rc1.

This KUnit next update for Linux 6.2-rc1 consists of several enhancements,
fixes, clean-ups, documentation updates, improvements to logging and KTAP
compliance of KUnit test output:

- log numbers in decimal and hex
- parse KTAP compliant test output
- allow conditionally exposing static symbols to tests
   when KUNIT is enabled
- make static symbols visible during kunit testing
- clean-ups to remove unused structure definition

diff is attached.

Please note that this update touches apparmor, mm, drm areas.

apparmor patch in this update includes changes to static symbols visible
during kunit testing. John Johansen and I are coordinating our pull requests
to handle merge conflicts - John' pull request will include fixes to
merge conflicts found in linux-next.

Last note: patches have been in next for a while and I had to drop a patch
today to avoid merge conflicts - that explains the recent commit status on
a few patches.

thanks,
-- Shuah

----------------------------------------------------------------
The following changes since commit 247f34f7b80357943234f93f247a1ae6b6c3a740:

   Linux 6.1-rc2 (2022-10-23 15:27:33 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 054be257f28ca8eeb8e3620766501b81ceb4b293:

   Documentation: dev-tools: Clarify requirements for result description (2022-12-12 14:13:48 -0700)

----------------------------------------------------------------
linux-kselftest-kunit-next-6.2-rc1

This KUnit next update for Linux 6.2-rc1 consists of several enhancements,
fixes, clean-ups, documentation updates, improvements to logging and KTAP
compliance of KUnit test output:

- log numbers in decimal and hex
- parse KTAP compliant test output
- allow conditionally exposing static symbols to tests
   when KUNIT is enabled
- make static symbols visible during kunit testing
- clean-ups to remove unused structure definition

----------------------------------------------------------------
Daniel Latypov (13):
       kunit: tool: make unit test not print parsed testdata to stdout
       kunit: tool: print summary of failed tests if a few failed out of a lot
       kunit: tool: make TestCounts a dataclass
       kunit: tool: unit tests all check parser errors, standardize formatting a bit
       kunit: tool: remove redundant file.close() call in unit test
       kunit: eliminate KUNIT_INIT_*_ASSERT_STRUCT macros
       Documentation: KUnit: make usage.rst a superset of tips.rst, remove duplication
       Documentation: KUnit: reword description of assertions
       kunit: remove KUNIT_INIT_MEM_ASSERTION macro
       kunit: tool: tweak error message when no KTAP found
       kunit: tool: make --json do nothing if --raw_ouput is set
       kunit: tool: don't include KTAP headers and the like in the test log
       kunit: tool: make parser preserve whitespace when printing test log

David Gow (5):
       Documentation: kunit: Remove redundant 'tips.rst' page
       kunit: Provide a static key to check if KUnit is actively running tests
       kunit: Use the static key when retrieving the current test
       mm: slub: test: Use the kunit_get_current_test() function
       Documentation: kunit: Fix "How Do I Use This" / "Next Steps" sections

Mark Brown (1):
       Documentation: dev-tools: Clarify requirements for result description

Mark Rutland (1):
       kunit: log numbers in decimal and hex

MaĆ­ra Canal (3):
       kunit: Introduce KUNIT_EXPECT_MEMEQ and KUNIT_EXPECT_MEMNEQ macros
       kunit: Add KUnit memory block assertions to the example_all_expect_macros_test
       kunit: Use KUNIT_EXPECT_MEMEQ macro

Rae Moar (4):
       kunit: tool: parse KTAP compliant test output
       kunit: improve KTAP compliance of KUnit test output
       kunit: add macro to allow conditionally exposing static symbols to tests
       apparmor: test: make static symbols visible during kunit testing

Sadiya Kazi (1):
       Documentation: Kunit: Update architecture.rst for minor fixes

YoungJun.park (1):
       kunit: remove unused structure definition

  Documentation/dev-tools/ktap.rst                   |   4 +-
  Documentation/dev-tools/kunit/architecture.rst     | 115 +++++-----
  Documentation/dev-tools/kunit/index.rst            |  20 +-
  Documentation/dev-tools/kunit/start.rst            |  18 +-
  Documentation/dev-tools/kunit/tips.rst             | 190 ----------------
  Documentation/dev-tools/kunit/usage.rst            |  92 +++++---
  drivers/gpu/drm/tests/drm_format_helper_test.c     |  12 +-
  include/kunit/assert.h                             |  74 +++----
  include/kunit/test-bug.h                           |  53 ++++-
  include/kunit/test.h                               | 118 ++++++++--
  include/kunit/visibility.h                         |  33 +++
  lib/kunit/assert.c                                 |  62 +++++-
  lib/kunit/debugfs.c                                |   2 +-
  lib/kunit/executor.c                               |   6 +-
  lib/kunit/kunit-example-test.c                     |   7 +
  lib/kunit/string-stream.c                          |   5 -
  lib/kunit/test.c                                   |  15 +-
  lib/slub_kunit.c                                   |   1 +
  mm/slub.c                                          |   3 +-
  net/core/dev_addr_lists_test.c                     |   4 +-
  security/apparmor/Kconfig                          |   4 +-
  security/apparmor/Makefile                         |   3 +
  security/apparmor/include/policy_unpack.h          |  50 +++++
  security/apparmor/policy_unpack.c                  | 238 +++++++++------------
  security/apparmor/policy_unpack_test.c             |  69 +++---
  tools/testing/kunit/kunit.py                       |  36 ++--
  tools/testing/kunit/kunit_parser.py                | 188 ++++++++++------
  tools/testing/kunit/kunit_tool_test.py             | 164 ++++++++------
  .../kunit/test_data/test_parse_ktap_output.log     |   8 +
  .../kunit/test_data/test_parse_subtest_header.log  |   7 +
  30 files changed, 901 insertions(+), 700 deletions(-)
  delete mode 100644 Documentation/dev-tools/kunit/tips.rst
  create mode 100644 include/kunit/visibility.h
  create mode 100644 tools/testing/kunit/test_data/test_parse_ktap_output.log
  create mode 100644 tools/testing/kunit/test_data/test_parse_subtest_header.log
----------------------------------------------------------------
View attachment "linux-kselftest-kunit-next-6.2-rc1.diff" of type "text/x-patch" (119132 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ