Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Ungureanu <marius.ungureanu@xamarin.com>2015-10-01 16:54:15 +0300
committerMarius Ungureanu <marius.ungureanu@xamarin.com>2015-10-01 16:59:04 +0300
commit963653a676d6993897d7594736e849705d4d915b (patch)
tree809ae1298cd3613ad8b3a09ac581ab332661b443 /main/wintest.sh
parent23fd9dd99ed670d8a77f811769f48c584e76007c (diff)
[Windows] Check for NRefactory in release location too.
Diffstat (limited to 'main/wintest.sh')
-rw-r--r--main/wintest.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/main/wintest.sh b/main/wintest.sh
index 48d9c5b78a..4534dfdac8 100644
--- a/main/wintest.sh
+++ b/main/wintest.sh
@@ -1,11 +1,18 @@
if [ $# -lt 1 ]; then
build/bin/mdtool run-md-tests build/tests/UnitTests.dll
build/bin/mdtool run-md-tests build/tests/*.Tests.dll
- build/bin/mdtool run-md-tests external/nrefactory/bin/Debug/ICSharpCode.NRefactory.Tests.dll
+ if [ ! -f "$external/nrefactory/bin/Debug/ICSharpCode.NRefactory.Tests.dll" ]; then
+ build/bin/mdtool run-md-tests external/nrefactory/bin/Debug/ICSharpCode.NRefactory.Tests.dll
+ else
+ build/bin/mdtool run-md-tests external/nrefactory/bin/Release/ICSharpCode.NRefactory.Tests.dll
+ fi
else
for arg in $@; do
if [[ $arg == *ICSharpCode.NRefactory.Tests.dll ]]; then
arg="external/nrefactory/bin/Debug/ICSharpCode.NRefactory.Tests.dll"
+ if [ ! -f "$arg" ]; then
+ arg="external/nrefactory/bin/Release/ICSharpCode.NRefactory.Tests.dll"
+ fi
elif [[ $arg != build/tests/* ]]; then
arg="build/tests/$arg"
fi