Skip to content
Snippets Groups Projects
Unverified Commit a7b83e92 authored by Gaëtan Harter's avatar Gaëtan Harter Committed by GitHub
Browse files

Merge pull request #9567 from kaspar030/unify_test_target

make: unify test target
parents 25868d1e 472bd0ae
No related branches found
No related tags found
No related merge requests found
Showing
with 7 additions and 57 deletions
......@@ -536,6 +536,13 @@ reset:
$(call check_cmd,$(RESET),Reset program)
$(RESET) $(RESET_FLAGS)
TESTS ?= $(foreach file,$(wildcard $(APPDIR)/tests/*),\
$(shell test -f $(file) -a -x $(file) && echo $(file)))
test: $(TEST_DEPS)
$(Q) for t in $(TESTS); do \
$$t || exit 1; \
done
# Default OBJDUMPFLAGS for platforms which do not specify it:
OBJDUMPFLAGS ?= -S -D -h
......
......@@ -7,6 +7,3 @@ USEMODULE += xtimer
TEST_ON_CI_WHITELIST += all
include $(RIOTBASE)/Makefile.include
test:
tests/01-run.py
......@@ -7,6 +7,3 @@ USEMODULE += xtimer
TEST_ON_CI_WHITELIST += all
include $(RIOTBASE)/Makefile.include
test:
tests/01-run.py
......@@ -5,6 +5,3 @@ USEMODULE += xtimer
TEST_ON_CI_WHITELIST += all
include $(RIOTBASE)/Makefile.include
test:
tests/01-run.py
......@@ -8,6 +8,3 @@ USEMODULE += xtimer
TEST_ON_CI_WHITELIST += all
include $(RIOTBASE)/Makefile.include
test:
tests/01-run.py
......@@ -7,6 +7,3 @@ USEMODULE += xtimer
TEST_ON_CI_WHITELIST += all
include $(RIOTBASE)/Makefile.include
test:
tests/01-run.py
......@@ -5,6 +5,3 @@ USEMODULE += xtimer
TEST_ON_CI_WHITELIST += all
include $(RIOTBASE)/Makefile.include
test:
tests/01-run.py
......@@ -13,6 +13,3 @@ DISABLE_MODULE += auto_init
TEST_ON_CI_WHITELIST += all
include $(RIOTBASE)/Makefile.include
test:
tests/01-run.py
......@@ -6,6 +6,3 @@ USEMODULE += xtimer
TEST_ON_CI_WHITELIST += all
include $(RIOTBASE)/Makefile.include
test:
tests/01-run.py
......@@ -5,6 +5,3 @@ USEMODULE += cb_mux
TEST_ON_CI_WHITELIST += all
include $(RIOTBASE)/Makefile.include
test:
./tests/01-run.py
......@@ -6,6 +6,3 @@ USEMODULE += cb_mux \
TEST_ON_CI_WHITELIST += all
include $(RIOTBASE)/Makefile.include
test:
./tests/01-run.py
......@@ -19,6 +19,3 @@ USEMODULE += cbor_float
USEMODULE += cbor_semantic_tagging
include $(RIOTBASE)/Makefile.include
test:
tests/01-run.py
......@@ -19,6 +19,3 @@ USEMODULE += timex
TEST_ON_CI_WHITELIST += all
include $(RIOTBASE)/Makefile.include
test:
tests/01-run.py
......@@ -18,6 +18,3 @@ USEMODULE += xtimer
TEST_ON_CI_WHITELIST += all
include $(RIOTBASE)/Makefile.include
test:
tests/01-run.py
......@@ -19,6 +19,3 @@ USEMODULE += timex
TEST_ON_CI_WHITELIST += all
include $(RIOTBASE)/Makefile.include
test:
tests/01-run.py
......@@ -5,6 +5,3 @@ USEMODULE += embunit
USEMODULE += xtimer
include $(RIOTBASE)/Makefile.include
test:
tests/01-run.py
......@@ -13,7 +13,4 @@ CFLAGS += -DGROVE_LEDBAR_CLK=$(TEST_GROVE_LEDBAR_CLK)
CFLAGS += -DGROVE_LEDBAR_DAT=$(TEST_GROVE_LEDBAR_DAT)
CFLAGS += -DGROVE_LEDBAR_DIR=$(TEST_GROVE_LEDBAR_DIR)
test:
tests/01-run.py
include $(RIOTBASE)/Makefile.include
......@@ -8,7 +8,4 @@ FEATURES_REQUIRED += arduino
USEMODULE += hd44780
test:
tests/01-run.py
include $(RIOTBASE)/Makefile.include
......@@ -15,7 +15,4 @@ CFLAGS += -DTEST_MY9221_DAT=$(TEST_MY9221_DAT)
CFLAGS += -DTEST_MY9221_DIR=$(TEST_MY9221_DIR)
CFLAGS += -DTEST_MY9221_NUM=$(TEST_MY9221_NUM)
test:
tests/01-run.py
include $(RIOTBASE)/Makefile.include
......@@ -4,9 +4,6 @@ FORCE_ASSERTS = 1
USEMODULE += event_callback
USEMODULE += event_timeout
test:
tests/01-run.py
TEST_ON_CI_WHITELIST += all
include $(RIOTBASE)/Makefile.include
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment