|
|
@ -27,8 +27,6 @@ tests-single-ci: |
|
|
|
|
|
|
|
tests-single-local: |
|
|
|
@if ! test -n "$(TEST_TARGET)" ; then echo "***ERROR*** Set TEST_TARGET=<your-module> or use make tests-all-local" ; return 1; fi |
|
|
|
chmod +x buildroot/bin/* |
|
|
|
chmod +x buildroot/tests/* |
|
|
|
export PATH=./buildroot/bin/:./buildroot/tests/:${PATH} \
|
|
|
|
&& export VERBOSE_PLATFORMIO=$(VERBOSE_PLATFORMIO) \
|
|
|
|
&& run_tests . $(TEST_TARGET) "$(ONLY_TEST)" |
|
|
@ -40,8 +38,6 @@ tests-single-local-docker: |
|
|
|
.PHONY: tests-single-local-docker |
|
|
|
|
|
|
|
tests-all-local: |
|
|
|
chmod +x buildroot/bin/* |
|
|
|
chmod +x buildroot/tests/* |
|
|
|
export PATH=./buildroot/bin/:./buildroot/tests/:${PATH} \
|
|
|
|
&& export VERBOSE_PLATFORMIO=$(VERBOSE_PLATFORMIO) \
|
|
|
|
&& for TEST_TARGET in $$(./get_test_targets.py) ; do echo "Running tests for $$TEST_TARGET" ; run_tests . $$TEST_TARGET ; done |
|
|
|