[acceptance-tests] Ensure Roslyn is bootstrapping with Mono
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Mon, 9 Nov 2015 17:57:10 +0000 (18:57 +0100)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Mon, 9 Nov 2015 17:59:07 +0000 (18:59 +0100)
It tried to use CoreCLR but that doesn't work on Jenkins since some of the dependencies are missing there.
We actually want to ensure it's always using Mono so we can catch errors on our side, so we need this
hack until we have an option in the script upstream.

acceptance-tests/Makefile.am

index 2129dee140ebc39301e4c4e6e028ba84c8ab9cc4..f20846ec34481898bc5efd63635f1f989f49de89 100644 (file)
@@ -43,7 +43,9 @@ check-roslyn:
                cp /tmp/RoslynBuildDependencies/NuGetTargets/* $$MONO_NUGET_TARGETS_DIR; \
                cp /tmp/RoslynBuildDependencies/PortableTargets/* $$MONO_PORTABLE_TARGETS_DIR; \
        fi; \
-       cd $(ROSLYN_PATH) && ./cibuild.sh --mono-path $$PREFIX/bin
+       cd $(ROSLYN_PATH); \
+       sed -i -e 'N; s/bootstrapArg=".*\n.*"/bootstrapArg=""/g' cibuild.sh; \
+       ./cibuild.sh --mono-path $$PREFIX/bin
 
 coreclr-validate:
        $(MAKE) validate-coreclr RESET_VERSIONS=1