The debug-tests was changing the compilation (TINY_MQTT_DEBUG on) Thus the other tests were too long to execute due to Serial output emulation.
27 lines
526 B
Makefile
27 lines
526 B
Makefile
tests:
|
|
set -e; \
|
|
for i in *-tests/Makefile; do \
|
|
echo '==== Making:' $$(dirname $$i); \
|
|
$(MAKE) -C $$(dirname $$i) -j; \
|
|
done
|
|
|
|
debugtest:
|
|
set -e; \
|
|
$(MAKE) clean; \
|
|
$(MAKE) -C debug-mode -j; \
|
|
debug-mode/debug-tests.out
|
|
|
|
runtests: clean tests
|
|
set -e; \
|
|
for i in *-tests/Makefile; do \
|
|
echo '==== Running:' $$(dirname $$i); \
|
|
$$(dirname $$i)/$$(dirname $$i).out; \
|
|
done
|
|
|
|
clean:
|
|
set -e; \
|
|
for i in *-tests/Makefile; do \
|
|
echo '==== Cleaning:' $$(dirname $$i); \
|
|
$(MAKE) -C $$(dirname $$i) clean; \
|
|
done
|