From 3c0d99d9c037b1d153f776024098951f29eb71df Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Thu, 17 Oct 2024 03:44:35 +0200 Subject: [PATCH] Exiting when not all tests are fulfilled. --- scripts/run-tests.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh index 8c09c54..3f73e37 100644 --- a/scripts/run-tests.sh +++ b/scripts/run-tests.sh @@ -12,7 +12,7 @@ rebuild=true cd runtime-pyside6/tests/plugins || exit 1 box "Testing pytest natural plugins..." -PYTHONPATH="$PYTHONPATH:." pytest --cov=natural --cov-report term-missing . +PYTHONPATH="$PYTHONPATH:." pytest --cov=natural --cov-report term-missing . || exit 1 cd ../../../ while [ $# -gt 0 ]; do @@ -40,11 +40,11 @@ cp -r runtime-pyside6/tests build/runtime-pyside6 cp -r ci CHANGELOG.md build/runtime-pyside6 cd build/runtime-pyside6 || exit 1 box "Testing runtime-pyside6..." -PYTHONPATH="$PYTHONPATH:." pytest --cov=LogarithmPlotter --cov-report term-missing . +PYTHONPATH="$PYTHONPATH:." pytest --cov=LogarithmPlotter --cov-report term-missing . || exit 1 cd ../../ # Run js tests cd common || exit 1 box "Testing common..." -npm test +npm test || exit 1