[lkml]   [2020]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH v2 0/3] Extract and generate stand-alone test list
- update documentation
- include SPDX line in extracted script


I really like Hangbin Liu's intent[1] but I think we need to be a little
more clean about the implementation. This extracts from
the Makefile so it can actually be changed without embeds, etc. Instead,
generate the test list into a text file. Everything gets much simpler.

And in patch 2, I add back Hangbin Liu's new options (with some extra
added) with knowledge of "collections" (i.e. Makefile TARGETS) and
subtests. This should work really well with LAVA too, which needs to
manipulate the lists of tests being run.




Kees Cook (3):
selftests: Extract and generate stand-alone test list
selftests/ Make each test individually selectable
doc: dev-tools: kselftest.rst: Update examples and paths

Documentation/dev-tools/kselftest.rst | 35 +++++----
tools/testing/selftests/Makefile | 26 ++-----
tools/testing/selftests/ | 5 +-
tools/testing/selftests/ | 93 ++++++++++++++++++++++++
4 files changed, 124 insertions(+), 35 deletions(-)
create mode 100755 tools/testing/selftests/


 \ /
  Last update: 2020-09-28 22:28    [W:0.086 / U:8.532 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site