selftests: change lib.mk RUN_TESTS to take test list as an argument
authorShuah Khan <shuahkh@osg.samsung.com>
Wed, 23 Aug 2017 20:42:44 +0000 (14:42 -0600)
committerShuah Khan <shuahkh@osg.samsung.com>
Fri, 25 Aug 2017 16:15:24 +0000 (10:15 -0600)
commit77d802e237c89a8b3d2879510c68625fda8ac0df
tree5bf0fa9f6a22a7a7aa80a4c98078134d4be29fe2
parent49b7364561f034147c9aec2b346451c3f61d0a28
selftests: change lib.mk RUN_TESTS to take test list as an argument

Change lib.mk RUN_TESTS to take test list as an argument. This will
allow it to be called from individual test makefiles to run additional
tests that aren't suitable for a default kselftest run. As an example,
timers test includes destructive tests that aren't included in the
common run_tests target.

Change times/Makefile to use RUN_TESTS call with destructive test list
as an argument instead of using its own RUN_TESTS target.

Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
tools/testing/selftests/lib.mk
tools/testing/selftests/timers/Makefile