aboutsummaryrefslogtreecommitdiff
path: root/rules.mk
diff options
context:
space:
mode:
authoraqua <aqua@iserlohn-fortress.net>2023-03-12 21:32:52 +0200
committeraqua <aqua@iserlohn-fortress.net>2023-03-12 21:32:52 +0200
commit1bb2504bc9928e68c612787803c84033a847a968 (patch)
treeab8e45e8524dd45721e61551d5a092daef05a8ee /rules.mk
parentAdd scripts/test_runner.py (diff)
downloadkernel-1bb2504bc9928e68c612787803c84033a847a968.tar.xz
Build tests using HOSTTARGETBIN
Diffstat (limited to 'rules.mk')
-rw-r--r--rules.mk8
1 files changed, 0 insertions, 8 deletions
diff --git a/rules.mk b/rules.mk
index b22a3b3..98aa829 100644
--- a/rules.mk
+++ b/rules.mk
@@ -41,9 +41,6 @@ $(foreach T,${HOSTTARGETBIN},\
$(eval DEFAULT_TARGETS += $T) \
)
-TESTS.DEPS = $(foreach F,${TESTS},$(addsuffix .d,$F))
-include ${TESTS.DEPS}
-
debug:
@echo "TARGETBIN ${TARGETBIN}"
@echo "TARGETLIB ${TARGETLIB}"
@@ -114,11 +111,6 @@ ${ARCH}_CXXFLAGS += -I../lib/libk -Drestrict=__restrict__
@echo ' HOST CXX $<'
@${HOST_CXX} ${HOST_CXXFLAGS} -c -o $@ $<
-# test rules
-test_%: test_%.cc
- @echo ' CXX TEST $@'
- @${HOST_CXX} ${HOST_CXXFLAGS} ${HOST_LDFLAGS} $< -o $@
-
.PHONY: test test.quiet valgrind valgrind.quiet clean.base FORCE
test: ${TESTS}
@echo " -> Running tests in $(shell pwd | xargs basename)"