aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/futex/functional
diff options
context:
space:
mode:
authorDarren Hart <dvhart@linux.intel.com>2015-05-13 00:07:53 -0400
committerShuah Khan <shuahkh@osg.samsung.com>2015-05-26 17:58:08 -0400
commit9705315b7562cfd2928ac2f3423ec122c3241037 (patch)
treee6272769b41868af3507d506b05abaf0a5c3c032 /tools/testing/selftests/futex/functional
parent2aa8470f02a9b9e6a410d1264fe6c8fa6c402eff (diff)
selftests/futex: Update Makefile to use lib.mk
Adapt the futextest Makefiles to use lib.mk macros for RUN_TESTS and EMIT_TESTS. For now, we reuse the run.sh mechanism provided by futextest. This doesn't provide the standard selftests: [PASS|FAIL] format, but the tests provide very similar output already. This results in the run_kselftest.sh script for futexes including a single line: ./run.sh Cc: Shuah Khan <shuahkh@osg.samsung.com> Cc: linux-api@vger.kernel.org Cc: Ingo Molnar <mingo@elte.hu> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Davidlohr Bueso <dave@stgolabs.net> Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'tools/testing/selftests/futex/functional')
-rw-r--r--tools/testing/selftests/futex/functional/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/testing/selftests/futex/functional/Makefile b/tools/testing/selftests/futex/functional/Makefile
index 720023e21781..4b018febf9f1 100644
--- a/tools/testing/selftests/futex/functional/Makefile
+++ b/tools/testing/selftests/futex/functional/Makefile
@@ -12,13 +12,14 @@ TARGETS := \
12 futex_wait_uninitialized_heap \ 12 futex_wait_uninitialized_heap \
13 futex_wait_private_mapped_file 13 futex_wait_private_mapped_file
14 14
15TEST_PROGS := $(TARGETS) run.sh
16
15.PHONY: all clean 17.PHONY: all clean
16all: $(TARGETS) 18all: $(TARGETS)
17 19
18$(TARGETS): $(HEADERS) 20$(TARGETS): $(HEADERS)
19 21
20run_tests: all 22include ../../lib.mk
21 ./run.sh
22 23
23clean: 24clean:
24 rm -f $(TARGETS) 25 rm -f $(TARGETS)