Skip to content
Snippets Groups Projects
Commit adb25fb0 authored by Kaspar Schleiser's avatar Kaspar Schleiser
Browse files

make: add global test target

parent 8d1d509a
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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