mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
make: add global test target
This commit is contained in:
parent
8d1d509af9
commit
adb25fb075
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user