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-16 16:42:50 +0300
committerMarius Ungureanu <marius.ungureanu@xamarin.com>2015-10-16 18:11:34 +0300
commite7c01116f267ff4d53fef297cac65358df860309 (patch)
tree12673ee50d3402a9bab4e95b5187f68c93133074 /main/wintest.sh
parentb2d61ce1423ae6efcc392987e4ebbffc93fab8f0 (diff)
[Build] Add support for testing fsharp stuff.
Diffstat (limited to 'main/wintest.sh')
-rw-r--r--main/wintest.sh12
1 files changed, 11 insertions, 1 deletions
diff --git a/main/wintest.sh b/main/wintest.sh
index 4534dfdac8..ff0ca258cc 100644
--- a/main/wintest.sh
+++ b/main/wintest.sh
@@ -1,11 +1,16 @@
if [ $# -lt 1 ]; then
build/bin/mdtool run-md-tests build/tests/UnitTests.dll
build/bin/mdtool run-md-tests build/tests/*.Tests.dll
- if [ ! -f "$external/nrefactory/bin/Debug/ICSharpCode.NRefactory.Tests.dll" ]; then
+ 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
+ if [ ! -f "external/fsharpbinding/MonoDevelop.FSharp.Tests/bin/Debug/MonoDevelop.FSharp.Tests.dll" ]; then
+ build/bin/mdtool run-md-tests external/fsharpbinding/MonoDevelop.FSharp.Tests/bin/Debug/MonoDevelop.FSharp.Tests.dll
+ else
+ build/bin/mdtool run-md-tests external/fsharpbinding/MonoDevelop.FSharp.Tests/bin/Release/MonoDevelop.FSharp.Tests.dll
+ fi
else
for arg in $@; do
if [[ $arg == *ICSharpCode.NRefactory.Tests.dll ]]; then
@@ -13,6 +18,11 @@ else
if [ ! -f "$arg" ]; then
arg="external/nrefactory/bin/Release/ICSharpCode.NRefactory.Tests.dll"
fi
+ elif [[ $arg == *MonoDevelop.FSharp.Tests.dll ]]; then
+ arg="external/fsharpbinding/MonoDevelop.FSharp.Tests/bin/Debug/MonoDevelop.FSharp.Tests.dll"
+ if [ ! -f "$arg" ]; then
+ arg="external/fsharpbinding/MonoDevelop.FSharp.Tests/bin/Release/MonoDevelop.FSharp.Tests.dll"
+ fi
elif [[ $arg != build/tests/* ]]; then
arg="build/tests/$arg"
fi