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]
Message-Id: <1570545832-32326-1-git-send-email-alan.maguire@oracle.com>
Date:   Tue,  8 Oct 2019 15:43:49 +0100
From:   Alan Maguire <alan.maguire@...cle.com>
To:     linux-kselftest@...r.kernel.org, brendanhiggins@...gle.com,
        skhan@...uxfoundation.org
Cc:     mcgrof@...nel.org, keescook@...omium.org, yzaikin@...gle.com,
        akpm@...ux-foundation.org, yamada.masahiro@...ionext.com,
        catalin.marinas@....com, joe.lawrence@...hat.com,
        penguin-kernel@...ove.sakura.ne.jp, schowdary@...dia.com,
        urezki@...il.com, andriy.shevchenko@...ux.intel.com,
        changbin.du@...el.com, kunit-dev@...glegroups.com,
        linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org,
        Alan Maguire <alan.maguire@...cle.com>
Subject: [PATCH linux-kselftest-test 0/3] kunit: support module-based build

For consumers wishing to run kunit on real hardware, it would be
ideal if the kunit framework and tests supported module-based builds.
This is an advantage as it reduces the test task to running
"modprobe mytests.ko", and CONFIG_KUNIT* options can be "always on"
(or rather "always m").  KUnit based tests will load the kunit module
as an implicit dependency.

Alan Maguire (3):
  kunit: allow kunit tests to be loaded as a module
  kunit: allow kunit to be loaded as a module
  kunit: update documentation to describe module-based build

 Documentation/dev-tools/kunit/faq.rst   |  3 ++-
 Documentation/dev-tools/kunit/index.rst |  3 +++
 Documentation/dev-tools/kunit/usage.rst | 16 +++++++++++++++
 include/kunit/test.h                    | 36 ++++++++++++++++++++++++---------
 kernel/sysctl-test.c                    |  6 +++++-
 kunit/Kconfig                           |  6 +++---
 kunit/Makefile                          |  9 +++++++++
 kunit/assert.c                          |  8 ++++++++
 kunit/example-test.c                    |  6 +++++-
 kunit/string-stream-test.c              |  9 +++++++--
 kunit/string-stream.c                   |  7 +++++++
 kunit/test-test.c                       |  8 ++++++--
 kunit/test.c                            | 12 +++++++++++
 kunit/try-catch.c                       |  8 ++++++--
 lib/Kconfig.debug                       |  4 ++--
 15 files changed, 117 insertions(+), 24 deletions(-)

-- 
1.8.3.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ