diff options
author | Dave Young <dyoung@redhat.com> | 2012-12-17 19:04:47 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-17 20:15:27 -0500 |
commit | 63d233673a9f6c524969e40e7012e3e461aafd32 (patch) | |
tree | 784db6ee567f9044da04d9d4374df33a2a4818d9 /tools/testing | |
parent | aabccae6e9e2106e67a40d65eb423163cd69d2fb (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/Makefile | 4 |
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 | ||
17 | all: | 17 | all: |
18 | ifeq ($(ARCH),X86) | 18 | ifeq ($(ARCH),X86) |
19 | gcc $(CFLAGS) kcmp_test.c -o run_test | 19 | gcc $(CFLAGS) kcmp_test.c -o kcmp_test |
20 | else | 20 | else |
21 | echo "Not an x86 target, can't build kcmp selftest" | 21 | echo "Not an x86 target, can't build kcmp selftest" |
22 | endif | 22 | endif |
23 | 23 | ||
24 | run-tests: all | 24 | run_tests: all |
25 | ./kcmp_test | 25 | ./kcmp_test |
26 | 26 | ||
27 | clean: | 27 | clean: |