[tests] Fix unit tests timed out

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.
This commit is contained in:
hsaturn
2022-10-31 01:49:08 +01:00
parent 0444a4c348
commit 3839a0a830
3 changed files with 7 additions and 1 deletions

View File

@@ -5,7 +5,13 @@ tests:
$(MAKE) -C $$(dirname $$i) -j; \
done
runtests: tests
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); \