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

From: Shuah Khan
Date: Fri Mar 13 2015 - 18:58:15 EST


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(-)

--
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/