make makefile in test fail on build or test error

This commit is contained in:
Matthias Ringwald 2015-10-12 10:59:06 +02:00
parent edd8bdd843
commit bbf26c6527

View File

@ -12,24 +12,23 @@ SUBDIRS = \
sdp_client \ sdp_client \
security_manager \ security_manager \
# security_manager \
EXCLUDED = ios
subdirs: subdirs:
echo Building all tests echo Building all tests
@set -e; \
for dir in $(SUBDIRS); do \ for dir in $(SUBDIRS); do \
$(MAKE) -C $$dir; \ $(MAKE) -C $$dir; \
done done
clean: clean:
echo Clean all test echo Clean all test
@set -e; \
for dir in $(SUBDIRS); do \ for dir in $(SUBDIRS); do \
$(MAKE) -C $$dir clean; \ $(MAKE) -C $$dir clean; \
done done
test: test:
echo Run all test echo Run all test
@set -e; \
for dir in $(SUBDIRS); do \ for dir in $(SUBDIRS); do \
$(MAKE) -C $$dir test; \ $(MAKE) -C $$dir test; \
done done