"make test": fail if one of the example toxes fails

This commit is contained in:
Georg Brandl 2020-03-13 13:29:30 +01:00
parent 9c3331e66c
commit 701fb7f2b5
1 changed files with 2 additions and 2 deletions

View File

@ -7,11 +7,11 @@ test:
cargo test cargo test
${MAKE} clippy ${MAKE} clippy
tox tox
for example in examples/*; do tox -e py -c $$example/tox.ini; done for example in examples/*; do tox -e py -c $$example/tox.ini || exit 1; done
test_py3: test_py3:
tox -e py3 tox -e py3
for example in examples/*; do tox -e py3 -c $$example/tox.ini; done for example in examples/*; do tox -e py3 -c $$example/tox.ini || exit 1; done
fmt: fmt:
cargo fmt --all -- --check cargo fmt --all -- --check