aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing
diff options
context:
space:
mode:
authorDave Young <dyoung@redhat.com>2012-12-17 19:04:47 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2012-12-17 20:15:27 -0500
commit63d233673a9f6c524969e40e7012e3e461aafd32 (patch)
tree784db6ee567f9044da04d9d4374df33a2a4818d9 /tools/testing
parentaabccae6e9e2106e67a40d65eb423163cd69d2fb (diff)
kcmp selftests: make run_tests fix
make run_tests need the target is run_tests instead of run-tests Also gcc output should be kcmp_test. Fix these two issues. Signed-off-by: Dave Young <dyoung@redhat.com> Cc: Pekka Enberg <penberg@kernel.org> Cc: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/testing')
-rw-r--r--tools/testing/selftests/kcmp/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/selftests/kcmp/Makefile b/tools/testing/selftests/kcmp/Makefile
index dc79b86ea65c..c608945a0ef5 100644
--- a/tools/testing/selftests/kcmp/Makefile
+++ b/tools/testing/selftests/kcmp/Makefile
@@ -16,12 +16,12 @@ CFLAGS += -I../../../../arch/x86/include/
16 16
17all: 17all:
18ifeq ($(ARCH),X86) 18ifeq ($(ARCH),X86)
19 gcc $(CFLAGS) kcmp_test.c -o run_test 19 gcc $(CFLAGS) kcmp_test.c -o kcmp_test
20else 20else
21 echo "Not an x86 target, can't build kcmp selftest" 21 echo "Not an x86 target, can't build kcmp selftest"
22endif 22endif
23 23
24run-tests: all 24run_tests: all
25 ./kcmp_test 25 ./kcmp_test
26 26
27clean: 27clean: