lkml.org 
[lkml]   [2012]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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:


\
 
 \ /
  Last update: 2012-11-24 10:01    [W:0.074 / U:1.412 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site