Browse Source

Set return value from run-tests.sh script.

pull/657/head
Steven Kirk 10 years ago
parent
commit
bc16abc257
  1. 5
      tests/run-tests.sh

5
tests/run-tests.sh

@ -3,7 +3,12 @@
cd "$(dirname "$0")" cd "$(dirname "$0")"
tests=(Avalonia.*.UnitTests/) tests=(Avalonia.*.UnitTests/)
result=0
for test in "${tests[@]}"; do for test in "${tests[@]}"; do
mono ../testrunner/xunit.runner.console.2.1.0/tools/xunit.console.exe ${test}bin/Release/${test%/}.dll -parallel none 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 done
exit $result

Loading…
Cancel
Save