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:   Sun, 18 Oct 2020 15:33:53 -0600
From:   Shuah Khan <skhan@...uxfoundation.org>
To:     Linus Torvalds <torvalds@...ux-foundation.org>
Cc:     Brendan Higgins <brendanhiggins@...gle.com>,
        Shuah Khan <skhan@...uxfoundation.org>,
        Andrew Morton <akpm@...ux-foundation.org>,
        Stephen Rothwell <sfr@...b.auug.org.au>,
        linux-kernel@...r.kernel.org, linux-kselftest@...r.kernel.org,
        Kees Cook <keescook@...omium.org>
Subject: [GIT PULL] Kunit next update for Linux 5.10-rc1

Hi Linus,

Please pull the following Kunit next update for Linux 5.10-rc1.

This Kunit update for Linux 5.10-rc1 consists of:

- add Kunit to kernel_init() and remove KUnit from init calls entirely.
   This addresses the concern Kunit would not work correctly during
   late init phase.
- add a linker section where KUnit can put references to its test
   suites.
   This patch is the first step in transitioning to dispatching all KUnit
   tests from a centralized executor rather than having each as its own
   separate late_initcall.
- add a centralized executor to dispatch tests rather than relying on
   late_initcall to schedule each test suite separately. Centralized
   execution is for built-in tests only; modules will execute tests when
   loaded.
- convert bitfield test to use KUnit framework
- Documentation updates for naming guidelines and how kunit_test_suite()
   works.
- add test plan to KUnit TAP format

diff is attached.

Please note that there is a conflict in lib/kunit/test.c

between commit:

   45dcbb6f5ef7 ("kunit: test: add test plan to KUnit TAP format")

from the kunit-next tree and commit:

e685acc91080 ("KUnit: KASAN Integration")

from the akpm-current tree. (now in master)

Stephen fixed this up in linux-next. Please let me know if you run
into any problems.

thanks,
-- Shuah

----------------------------------------------------------------
The following changes since commit 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5:

   Linux 5.9-rc1 (2020-08-16 13:04:57 -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.10-rc1

for you to fetch changes up to 294a7f1613ee49a608361bd319519561c0ca7e72:

   lib: kunit: Fix compilation test when using TEST_BIT_FIELD_COMPILE 
(2020-10-16 13:25:14 -0600)

----------------------------------------------------------------
linux-kselftest-kunit-5.10-rc1

This Kunit update for Linux 5.10-rc1 consists of:

- add Kunit to kernel_init() and remove KUnit from init calls entirely.
   This addresses the concern Kunit would not work correctly during
   late init phase.
- add a linker section where KUnit can put references to its test suites.
   This patch is the first step in transitioning to dispatching all KUnit
   tests from a centralized executor rather than having each as its own
   separate late_initcall.
- add a centralized executor to dispatch tests rather than relying on
   late_initcall to schedule each test suite separately. Centralized
   execution is for built-in tests only; modules will execute tests when
   loaded.
- convert bitfield test to use KUnit framework
- Documentation updates for naming guidelines and how kunit_test_suite()
   works.
- add test plan to KUnit TAP format

----------------------------------------------------------------
Alan Maguire (1):
       kunit: test: create a single centralized executor for all tests

Brendan Higgins (4):
       vmlinux.lds.h: add linker section for KUnit test suites
       init: main: add KUnit to kernel init
       kunit: test: add test plan to KUnit TAP format
       Documentation: kunit: add a brief blurb about kunit_test_suite

David Gow (1):
       Documentation: kunit: Add naming guidelines

Vitor Massaru Iha (2):
       lib: kunit: add bitfield test conversion to KUnit
       lib: kunit: Fix compilation test when using TEST_BIT_FIELD_COMPILE

  Documentation/dev-tools/kunit/index.rst            |   1 +
  Documentation/dev-tools/kunit/style.rst            | 205 
+++++++++++++++++++++
  Documentation/dev-tools/kunit/usage.rst            |   5 +
  include/asm-generic/vmlinux.lds.h                  |  10 +-
  include/kunit/test.h                               |  76 +++++---
  init/main.c                                        |   4 +
  lib/Kconfig.debug                                  |  23 ++-
lib/Makefile                                       |   2 +-
  lib/{test_bitfield.c => bitfield_kunit.c}          |  90 ++++-----
  lib/kunit/Makefile                                 |   3 +-
  lib/kunit/executor.c                               |  43 +++++
  lib/kunit/test.c                                   |  13 +-
  tools/testing/kunit/kunit_parser.py                |  76 ++++++--
  .../test_data/test_is_test_passed-all_passed.log   | Bin 1562 -> 1567 
bytes
  .../kunit/test_data/test_is_test_passed-crash.log  | Bin 3016 -> 3021 
bytes
  .../test_data/test_is_test_passed-failure.log      | Bin 1700 -> 1705 
bytes
  16 files changed, 441 insertions(+), 110 deletions(-)
  create mode 100644 Documentation/dev-tools/kunit/style.rst
  rename lib/{test_bitfield.c => bitfield_kunit.c} (67%)
  create mode 100644 lib/kunit/executor.c
----------------------------------------------------------------

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ