Commit 63d23367 authored by Dave Young's avatar Dave Young Committed by Linus Torvalds

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: default avatarDave Young <dyoung@redhat.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent aabccae6
...@@ -16,12 +16,12 @@ CFLAGS += -I../../../../arch/x86/include/ ...@@ -16,12 +16,12 @@ CFLAGS += -I../../../../arch/x86/include/
all: all:
ifeq ($(ARCH),X86) ifeq ($(ARCH),X86)
gcc $(CFLAGS) kcmp_test.c -o run_test gcc $(CFLAGS) kcmp_test.c -o kcmp_test
else else
echo "Not an x86 target, can't build kcmp selftest" echo "Not an x86 target, can't build kcmp selftest"
endif endif
run-tests: all run_tests: all
./kcmp_test ./kcmp_test
clean: clean:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment