summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/kcmp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/kcmp/Makefile')
-rw-r--r--tools/testing/selftests/kcmp/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/testing/selftests/kcmp/Makefile b/tools/testing/selftests/kcmp/Makefile
index ff0eefdc6ceb..2ae7450a9a89 100644
--- a/tools/testing/selftests/kcmp/Makefile
+++ b/tools/testing/selftests/kcmp/Makefile
@@ -1,10 +1,10 @@
-CC := $(CROSS_COMPILE)$(CC)
CFLAGS += -I../../../../usr/include/
all: kcmp_test
-run_tests: all
- @./kcmp_test || echo "kcmp_test: [FAIL]"
+TEST_PROGS := kcmp_test
+
+include ../lib.mk
clean:
$(RM) kcmp_test kcmp-test-file