Skip to content

Changes to timers Maefile to use shared logic for run_tests and install

Shuah Khan linux-api lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2selftests: add ability to run and emit script for tests args to lib.mktools/testing/selftests/lib.mk+6 -00 replies
2/2selftests/timers: change to use shared logic to run and install teststools/testing/selftests/timers/Makefile+11 -97 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] Changes to timers Maefile to use shared logic for run_tests and install

This patch set:

adds ability to run and emit script for tests args to lib.mk. lib.mk provides a way to override the default RUN_TESTS and EMIT_TESTS, however in the cases where a test has several executables that don't require any special args and/or handling and some that do, overrding will be cumbersome. Add variables RUN_TESTS_WITH_ARGS, and EMIT_TESTS_WITH_ARGS to enable a test to run and exmit script for such special executables.

Timers test Makefile is changed to use the shared logic for running and installing tests.

Shuah Khan (2):
selftests: add ability to run and emit script for tests args to lib.mk selftests/timers: change to use shared logic to run and install tests

 tools/testing/selftests/lib.mk          |  6 ++++++
 tools/testing/selftests/timers/Makefile | 20 +++++++++++---------
 2 files changed, 17 insertions(+), 9 deletions(-)
Signature · 1 line
2.1.0