summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDave Young <dyoung@redhat.com>2012-12-17 16:04:47 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2012-12-17 17:15:27 -0800
commit63d233673a9f6c524969e40e7012e3e461aafd32 (patch)
tree784db6ee567f9044da04d9d4374df33a2a4818d9 /tools
parentaabccae6e9e2106e67a40d65eb423163cd69d2fb (diff)
downloadlinux-63d233673a9f6c524969e40e7012e3e461aafd32.tar.gz
linux-63d233673a9f6c524969e40e7012e3e461aafd32.tar.bz2
linux-63d233673a9f6c524969e40e7012e3e461aafd32.zip
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')
-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/
all:
ifeq ($(ARCH),X86)
- gcc $(CFLAGS) kcmp_test.c -o run_test
+ gcc $(CFLAGS) kcmp_test.c -o kcmp_test
else
echo "Not an x86 target, can't build kcmp selftest"
endif
-run-tests: all
+run_tests: all
./kcmp_test
clean: