Skip to content

selftests/Make: Recursively build TARGETS list

Dmitry Safonov linux-kselftest lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v13 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2selftests/Make: Recursively build TARGETS listtools/testing/selftests/Makefile tools/testing/selftests/drivers/Makefile tools/testing/selftests/filesystems/Makefile +2 more+86 -600 replies
2/2selftests/.gitignore: Add io_uring_zerocopy_txtools/testing/selftests/net/.gitignore+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] selftests/Make: Recursively build TARGETS list

Version 2 changes:
- fix make install in sub-directories with TARGETS, but with no TEST_LIST defined, i.e. selftests/net directory (reported-by: kernel test robot <[email protected]>)
- vfork_exec selftest is about to be reverted, don't add .gitignore entry

From [1]:

Quoted 2 lines

Please look into a wayto invoke all of them instead of adding individual net/* to the main Makefile. This list seems to be growing. :)

I might have misunderstood what was suggested... Here is an attempt to let sub-selftests define their own $(TARGETS) directories.

[1]: https://lore.kernel.org/all/[email protected]/T/#u

Version 1: https://lore.kernel.org/all/[email protected]/T/#u

Dmitry Safonov (2):
selftests/Make: Recursively build TARGETS list
selftests/.gitignore: Add io_uring_zerocopy_tx

 tools/testing/selftests/Makefile             | 71 ++++----------------
 tools/testing/selftests/drivers/Makefile     |  7 ++
 tools/testing/selftests/filesystems/Makefile |  4 ++
 tools/testing/selftests/lib.mk               | 60 ++++++++++++++++-
 tools/testing/selftests/net/.gitignore       |  1 +
 tools/testing/selftests/net/Makefile         |  4 ++
 6 files changed, 87 insertions(+), 60 deletions(-)
 create mode 100644 tools/testing/selftests/drivers/Makefile

base-commit: 521a547ced6477c54b4b0cc206000406c221b4d6

Signature · 1 line
2.37.2