Browse Source

Excluded D2D test from bash test runner.

Steven Kirk 9 years ago
parent
commit
3bee859be6
1 changed files with 7 additions and 1 deletions
  1. 7 1
      tests/run-tests.sh

+ 7 - 1
tests/run-tests.sh

@@ -3,9 +3,15 @@
 cd "$(dirname "$0")"
 cd "$(dirname "$0")"
 
 
 tests=(Avalonia.*.UnitTests/)
 tests=(Avalonia.*.UnitTests/)
+exclude=("*Direct2D*/")
 result=0
 result=0
 
 
-for test in "${tests[@]}"; do
+for del in ${exclude[@]}; do
+    tests=(${tests[@]/$del})
+done
+
+for test in ${tests[@]}; do
+    echo Running test $test
     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
     if [ $? -ne 0 ]; then result=1 ; fi