mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 14:55:21 +03:00
Make makefile return non zero exit code on test failure.
This commit is contained in:
parent
7fd6390252
commit
e58825288b
1 changed files with 1 additions and 1 deletions
|
@ -304,7 +304,7 @@ ws2811_unittest : \
|
||||||
$(CXX) $(CXX_FLAGS) -lpthread $^ -o $(OBJECT_DIR)/$@
|
$(CXX) $(CXX_FLAGS) -lpthread $^ -o $(OBJECT_DIR)/$@
|
||||||
|
|
||||||
test: $(TESTS)
|
test: $(TESTS)
|
||||||
for test in $(TESTS) ; do \
|
set -e && for test in $(TESTS) ; do \
|
||||||
$(OBJECT_DIR)/$$test; \
|
$(OBJECT_DIR)/$$test; \
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue