Skip to content

Commit

Permalink
kcmp selftests: make run_tests fix
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
daveyoung authored and torvalds committed Dec 18, 2012
1 parent aabccae commit 63d2336
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/testing/selftests/kcmp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 63d2336

Please sign in to comment.