kcmp selftests: make run_tests fix
authorDave Young <[email protected]>
Tue, 18 Dec 2012 00:04:47 +0000 (16:04 -0800)
committerLinus Torvalds <[email protected]>
Tue, 18 Dec 2012 01:15:27 +0000 (17:15 -0800)
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 <[email protected]>
Cc: Pekka Enberg <[email protected]>
Cc: Cyrill Gorcunov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
tools/testing/selftests/kcmp/Makefile

index dc79b86ea65cdd2461114cfa2793a69715fab16f..c608945a0ef5af03103a53b51f698dedff7b6c5f 100644 (file)
@@ -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: