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 for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <482cb3f4-2ede-0369-922b-dd326b100873@linuxfoundation.org>
Date:   Wed, 17 Feb 2021 17:10:51 -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>,
        linux-kernel@...r.kernel.org, linux-kselftest@...r.kernel.org
Subject: [GIT PULL] KUnit update for Linux 5.12-rc1

Hi Linus,

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

This KUnit update for Linux 5.12-rc1 consists of consists of:

-- support for filtering test suites using glob from Daniel Latypov.

    "kunit_filter.glob" command line option is passed to the UML
    kernel, which currently only supports filtering by suite name.
    This support allows running different subsets of tests, e.g.

    $ ./tools/testing/kunit/kunit.py build
    $ ./tools/testing/kunit/kunit.py exec 'list*'
    $ ./tools/testing/kunit/kunit.py exec 'kunit*'

-- several fixes and cleanups also from Daniel Latypov.

diff is attached.

thanks,
-- Shuah

----------------------------------------------------------------
The following changes since commit 92bf22614b21a2706f4993b278017e437f7785b3:

   Linux 5.11-rc7 (2021-02-07 13:57:38 -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.12-rc1

for you to fetch changes up to 7af29141a31a2a2350589471c8979ff5f22fb9b7:

   kunit: tool: fix unintentional statefulness in run_kernel() 
(2021-02-08 16:10:22 -0700)

----------------------------------------------------------------
linux-kselftest-kunit-5.12-rc1

This KUnit update for Linux 5.12-rc1 consists of consists of:

-- support for filtering test suites using glob from Daniel Latypov.

    "kunit_filter.glob" command line option is passed to the UML
    kernel, which currently only supports filtering by suite name.
    This support allows running different subsets of tests, e.g.

    $ ./tools/testing/kunit/kunit.py build
    $ ./tools/testing/kunit/kunit.py exec 'list*'
    $ ./tools/testing/kunit/kunit.py exec 'kunit*'

-- several fixes and cleanups also from Daniel Latypov.

----------------------------------------------------------------
Daniel Latypov (12):
       kunit: tool: fix unit test cleanup handling
       kunit: tool: stop using bare asserts in unit test
       kunit: tool: use `with open()` in unit test
       minor: kunit: tool: fix unit test so it can run from non-root dir
       kunit: tool: simplify kconfig is_subset_of() logic
       KUnit: Docs: make start.rst example Kconfig follow style.rst
       Documentation: kunit: add tips.rst for small examples
       kunit: make kunit_tool accept optional path to .kunitconfig fragment
       kunit: don't show `1 == 1` in failed assertion messages
       kunit: add kunit.filter_glob cmdline option to filter suites
       kunit: tool: add support for filtering suites by glob
       kunit: tool: fix unintentional statefulness in run_kernel()

  Documentation/dev-tools/kunit/index.rst |   2 +
  Documentation/dev-tools/kunit/start.rst |   7 +-
  Documentation/dev-tools/kunit/tips.rst  | 115 ++++++++++++++++++
  lib/kunit/Kconfig                       |   1 +
  lib/kunit/assert.c                      |  39 +++++-
  lib/kunit/executor.c                    |  93 +++++++++++++--
  tools/testing/kunit/kunit.py            |  30 +++--
  tools/testing/kunit/kunit_config.py     |  13 +-
  tools/testing/kunit/kunit_kernel.py     |  18 ++-
  tools/testing/kunit/kunit_tool_test.py  | 204 
+++++++++++++++++---------------
  10 files changed, 390 insertions(+), 132 deletions(-)
  create mode 100644 Documentation/dev-tools/kunit/tips.rst

----------------------------------------------------------------

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ