diff options
author | Alexander Köplinger <alex.koeplinger@outlook.com> | 2016-03-09 20:06:57 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2016-03-09 20:34:05 +0300 |
commit | b827d683c63a0470bb17b392d3640db64b54e67f (patch) | |
tree | 350e0e484ed191dca00c56dbc1ca23294db96bc1 /acceptance-tests/roslyn.mk | |
parent | 4063befe57aab3f21abd10a8713aa0ebc22cedd8 (diff) |
[acceptance-tests] Split the test suites out of Makefile.am into own files
Diffstat (limited to 'acceptance-tests/roslyn.mk')
-rw-r--r-- | acceptance-tests/roslyn.mk | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/acceptance-tests/roslyn.mk b/acceptance-tests/roslyn.mk new file mode 100644 index 00000000000..e20b01e4979 --- /dev/null +++ b/acceptance-tests/roslyn.mk @@ -0,0 +1,23 @@ +check-roslyn: + @$(MAKE) validate-roslyn RESET_VERSIONS=1 + @if [ -z $$PREFIX ]; then echo "You need to set PREFIX to the prefix of the Mono installation that should be used for testing Roslyn." && exit 1; fi + sed -i -e 's/\\4.5-api"/\\4.5"/g' $$PREFIX/lib/mono/xbuild-frameworks/.NETFramework/v4.5/RedistList/FrameworkList.xml; \ + export MSBuildExtensionsPath=$$PREFIX/lib/mono/xbuild; \ + MONO_DOTNET_PORTABLE_DIR=$$PREFIX/lib/mono/xbuild-frameworks/.NETPortable/; \ + MONO_NUGET_TARGETS_DIR=$$PREFIX/lib/mono/xbuild/Microsoft/NuGet/; \ + MONO_PORTABLE_TARGETS_DIR=$$PREFIX/lib/mono/xbuild/Microsoft/Portable/v5.0; \ + if [ ! -d "$$MONO_DOTNET_PORTABLE_DIR/v5.0" ]; then \ + mkdir -p $$MONO_DOTNET_PORTABLE_DIR; \ + mkdir -p $$MONO_NUGET_TARGETS_DIR; \ + mkdir -p $$MONO_PORTABLE_TARGETS_DIR; \ + curl -SL "http://storage.bos.internalx.com/bot-provisioning/RoslynBuildDependencies.zip" > /tmp/RoslynBuildDependencies.zip; \ + unzip -o /tmp/RoslynBuildDependencies.zip -d /tmp/RoslynBuildDependencies; \ + cp -r /tmp/RoslynBuildDependencies/PortableReferenceAssemblies/* $$MONO_DOTNET_PORTABLE_DIR; \ + cp /tmp/RoslynBuildDependencies/NuGetTargets/* $$MONO_NUGET_TARGETS_DIR; \ + cp /tmp/RoslynBuildDependencies/PortableTargets/* $$MONO_PORTABLE_TARGETS_DIR; \ + fi; \ + cd $(ROSLYN_PATH); \ + sed -i -e 'N; s/bootstrapArg=".*\n.*"/bootstrapArg=""/g' cibuild.sh; \ + sed -i -e 's#-xml Binaries/\$$BUILD_CONFIGURATION/xUnitResults/#-nunit $(abs_top_builddir)/acceptance-tests/TestResult-#g' cibuild.sh; \ + ./cibuild.sh --mono-path $$PREFIX/bin; \ + sed -i -e 's/\\4.5"/\\4.5-api"/g' $$PREFIX/lib/mono/xbuild-frameworks/.NETFramework/v4.5/RedistList/FrameworkList.xml; |