2017-04-10 11:41:01 +00:00
|
|
|
check-ms-test-suite: $(CLASS)/nunitlite.dll
|
2016-08-03 10:59:49 +00:00
|
|
|
@if $(MAKE) validate-ms-test-suite RESET_VERSIONS=1; then \
|
2017-04-10 11:41:01 +00:00
|
|
|
$(MAKE) -C $(MSTESTSUITE_PATH)/conformance build MCS="$(MCS) -debug:portable -t:library -warn:1 -r:$(CLASS)/nunitlite.dll" && \
|
2017-10-19 20:04:20 +00:00
|
|
|
$(MAKE) -C $(MSTESTSUITE_PATH)/systemruntimebringup build MCS="$(MCS) -debug:portable -t:library -warn:1 -r:$(CLASS)/nunitlite.dll" && \
|
|
|
|
$(MAKE) -C $(MSTESTSUITE_PATH)/System.Linq.Expressions build MCS="$(MCS) -debug:portable -t:library -warn:1 -r:$(CLASS)/nunitlite.dll" && \
|
2017-04-10 11:41:01 +00:00
|
|
|
$(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; \
|
2017-10-19 20:04:20 +00:00
|
|
|
$(MAKE) -C $(MSTESTSUITE_PATH)/systemruntimebringup 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-systemruntimebringup.xml" || EXIT_CODE=1; \
|
|
|
|
$(MAKE) -C $(MSTESTSUITE_PATH)/System.Linq.Expressions 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-systemlinqexpressions.xml" || EXIT_CODE=1; \
|
2016-08-03 10:59:49 +00:00
|
|
|
exit $$EXIT_CODE; \
|
|
|
|
else \
|
|
|
|
echo "*** [ms-test-suite] Getting the repository failed, you probably don't have access to this Xamarin-internal resource. Skipping."; \
|
2016-11-10 13:04:39 +00:00
|
|
|
fi
|
2017-04-10 11:41:01 +00:00
|
|
|
|
|
|
|
$(CLASS)/nunitlite.dll:
|
|
|
|
$(MAKE) -C $(mcs_topdir)/tools/nunit-lite
|