[acceptance-tests] Add dependency on nunitlite.dll
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Wed, 16 Nov 2016 14:43:38 +0000 (15:43 +0100)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Wed, 16 Nov 2016 14:43:38 +0000 (15:43 +0100)
nunitlite.dll is not built anymore with a normal Mono build
so we need to depend on it explicitly.

acceptance-tests/ms-test-suite.mk

index ed27e274a21a520986980f129e780d07bf491ce3..1516dc61db68079b727791a9af45918375955c7a 100644 (file)
@@ -1,4 +1,4 @@
-check-ms-test-suite:
+check-ms-test-suite: $(CLASS)/nunitlite.dll
        @if $(MAKE) validate-ms-test-suite RESET_VERSIONS=1; then \
                $(MAKE) -C $(MSTESTSUITE_PATH)/conformance build MCS="$(MCS) -debug -t:library -warn:1 -r:$(CLASS)/nunitlite.dll" && \
                $(MAKE) -C $(MSTESTSUITE_PATH)/conformance run NUNIT-CONSOLE="$(RUNTIME) $(CLASS)/nunit-lite-console.exe -exclude=MonoBug,BadTest -format:nunit2" NUNIT_XML_RESULT="-result:$(abs_top_builddir)/acceptance-tests/TestResult-ms-test-suite-conformance.xml" || EXIT_CODE=1; \
@@ -8,3 +8,6 @@ check-ms-test-suite:
        else \
                echo "*** [ms-test-suite] Getting the repository failed, you probably don't have access to this Xamarin-internal resource. Skipping."; \
        fi
+
+$(CLASS)/nunitlite.dll:
+       $(MAKE) -C $(mcs_topdir)/tools/nunit-lite