Messages in this thread Patch in this message | | | Date | Sat, 24 Nov 2012 16:29:23 +0800 | From | dyoung@redhat ... | Subject | [patch 5/8] 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> --- tools/testing/selftests/kcmp/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
--- linux-2.6.orig/tools/testing/selftests/kcmp/Makefile 2012-11-23 23:08:23.000000000 +0800 +++ linux-2.6/tools/testing/selftests/kcmp/Makefile 2012-11-23 23:10:18.684922998 +0800 @@ -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:
| |