summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/futex/functional
diff options
context:
space:
mode:
authorDarren Hart <dvhart@linux.intel.com>2015-05-13 06:07:54 +0200
committerShuah Khan <shuahkh@osg.samsung.com>2015-05-26 23:58:08 +0200
commit33ca2248e9cdd595caab6becda910ef7d2ef9f42 (patch)
treeebe37d4877bed77eca012006e176d1584d11589c /tools/testing/selftests/futex/functional
parentselftests/futex: Update Makefile to use lib.mk (diff)
downloadlinux-33ca2248e9cdd595caab6becda910ef7d2ef9f42.tar.xz
linux-33ca2248e9cdd595caab6becda910ef7d2ef9f42.zip
selftests/futex: Increment ksft pass and fail counters
Add kselftest.h to logging.h and increment the pass and fail counters as part of the print_result routine which is called by all futex tests. 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/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/futex/functional/Makefile b/tools/testing/selftests/futex/functional/Makefile
index 4b018febf9f1..9d6b75ef7b5d 100644
--- a/tools/testing/selftests/futex/functional/Makefile
+++ b/tools/testing/selftests/futex/functional/Makefile
@@ -1,4 +1,4 @@
-INCLUDES := -I../include
+INCLUDES := -I../include -I../../
CFLAGS := $(CFLAGS) -g -O2 -Wall -D_GNU_SOURCE -pthread $(INCLUDES)
LDFLAGS := $(LDFLAGS) -pthread -lrt