selftests/futex: Update Makefile to use lib.mk
authorDarren Hart <dvhart@linux.intel.com>
Wed, 13 May 2015 04:07:53 +0000 (21:07 -0700)
committerShuah Khan <shuahkh@osg.samsung.com>
Tue, 26 May 2015 21:58:08 +0000 (15:58 -0600)
commit9705315b7562cfd2928ac2f3423ec122c3241037
treee6272769b41868af3507d506b05abaf0a5c3c032
parent2aa8470f02a9b9e6a410d1264fe6c8fa6c402eff
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>
tools/testing/selftests/futex/Makefile
tools/testing/selftests/futex/functional/Makefile