diff --git a/tests/run-tests.sh b/tests/run-tests.sh index 5d10445ec1..fb5171097c 100755 --- a/tests/run-tests.sh +++ b/tests/run-tests.sh @@ -3,7 +3,12 @@ cd "$(dirname "$0")" tests=(Avalonia.*.UnitTests/) +result=0 for test in "${tests[@]}"; do mono ../testrunner/xunit.runner.console.2.1.0/tools/xunit.console.exe ${test}bin/Release/${test%/}.dll -parallel none + + if [ $? -ne 0 ]; then result=1 ; fi done + +exit $result