[acceptance-tests] Output Roslyn and ms-test-suite NUNit xml result to current dir
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Tue, 10 Nov 2015 16:00:01 +0000 (17:00 +0100)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Tue, 10 Nov 2015 16:01:07 +0000 (17:01 +0100)
Roslyn used xunit-style xml by default, we hack the cibuild.sh script to output nunit-style
for now until we get an option upstream.

This allows us to catch those test results in Jenkins.

acceptance-tests/Makefile.am
acceptance-tests/SUBMODULES.json

index f20846ec34481898bc5efd63635f1f989f49de89..36967e824fb0ae496f47759aa336e4a5a2f0056b 100644 (file)
@@ -19,7 +19,7 @@ ILASM = $(RUNTIME) $(CLASS)/ilasm.exe
 check-ms-test-suite:
        @if $(MAKE) validate-ms-test-suite RESET_VERSIONS=1; then \
                $(MAKE) -C $(MSTESTSUITE_PATH)/conformance build MCS="$(MCS) -t:library -warn:1 -r:nunit.framework"; \
-               $(MAKE) -C $(MSTESTSUITE_PATH)/conformance run NUNIT-CONSOLE="$(RUNTIME) $(CLASS)/nunit-console.exe -nologo -exclude=MonoBug,BadTest"; \
+               $(MAKE) -C $(MSTESTSUITE_PATH)/conformance run NUNIT-CONSOLE="$(RUNTIME) $(CLASS)/nunit-console.exe -nologo -exclude=MonoBug,BadTest" NUNIT_XML_RESULT=$(abs_top_builddir)/acceptance-tests/TestResult-ms-test-suite-conformance.xml; \
                $(MAKE) -C $(MSTESTSUITE_PATH)/systemruntimebringup build MCS="$(MCS) -debug -warn:1"; \
                $(MAKE) -C $(MSTESTSUITE_PATH)/systemruntimebringup run MONO="$(RUNTIME)"; \
        else \
@@ -45,6 +45,7 @@ check-roslyn:
        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
 
 coreclr-validate:
index baabf314363cc1ed7637eebadc8a02553f854ef2..3cd5044f49d698f18fca4d0db4356bc289eaa302 100644 (file)
@@ -18,7 +18,7 @@
   {
     "name": "ms-test-suite", 
     "url": "git@github.com:xamarin/ms-test-suite.git", 
-    "rev": "4caab98ae449836c2aaacb9748fe0c796b71517f", 
+    "rev": "19f2a7dd44a2bfcf6006fd38033222383e8b81bf", 
     "remote-branch": "origin/master", 
     "branch": "master", 
     "directory": "ms-test-suite"