diff options
author | Alexander Köplinger <alex.koeplinger@outlook.com> | 2018-05-06 03:28:50 +0300 |
---|---|---|
committer | Ludovic Henry <luhenry@microsoft.com> | 2018-05-06 03:28:50 +0300 |
commit | d686d6dd07a4964af22721b48a64b33601446380 (patch) | |
tree | 1c06e7cd959b48c876c54761827c3d38e8240c08 /runtime | |
parent | ed15e75a943979a5b4d5e5dece8a9ae2cc4cc6cd (diff) |
[bcl] Add xunit to STD_TARGETS and precompile tests (#8594)
Similar to how we do it for nunit.
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/Makefile.am | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/runtime/Makefile.am b/runtime/Makefile.am index fa204020146..77177261b4e 100644 --- a/runtime/Makefile.am +++ b/runtime/Makefile.am @@ -116,9 +116,15 @@ TEST_SUPPORT_FILES = $(tmpinst)/bin/mono $(tmpinst)/bin/ilasm $(tmpinst)/bin/csc mcs-do-test-profiles: cd $(mcs_topdir) && $(MAKE) NO_DIR_CHECK=1 PROFILES='$(test_profiles)' test-profiles +mcs-do-xunit-test-profiles: + cd $(mcs_topdir) && $(MAKE) NO_DIR_CHECK=1 PROFILES='$(test_profiles)' xunit-test-profiles + mcs-do-run-test-profiles: test-support-files cd $(mcs_topdir) && $(MAKE) NO_DIR_CHECK=1 PROFILES='$(test_profiles)' run-test-profiles +mcs-do-xunit-run-test-profiles: test-support-files + cd $(mcs_topdir) && $(MAKE) NO_DIR_CHECK=1 PROFILES='$(test_profiles)' run-xunit-test-profiles + if HOST_WIN32 if CROSS_COMPILING cur_dir_cmd = pwd @@ -175,11 +181,12 @@ mcs-compileall: mono-wrapper etc/mono/config if [ "$$ok" = "false" ]; then echo "<?xml version='1.0' encoding='utf-8'?><test-results failures='1' total='1' not-run='0' name='verify' date='$$(date +%F)' time='$$(date +%T)'><test-suite name='mcs-compileall' success='False' time='0'><results><test-case name='fail' executed='True' success='False' time='0'><failure><message>Verifying framework assemblies failed. Check the log for more details.</message><stack-trace></stack-trace></failure></test-case></results></test-suite></test-results>" > TestResult-verify.xml; fi; \ $$ok -check-local: mcs-compileall mcs-do-test-profiles - $(MAKE) mcs-do-run-test-profiles +check-local: mcs-compileall mcs-do-test-profiles mcs-do-xunit-test-profiles + $(MAKE) mcs-do-run-test-profiles mcs-do-run-xunit-test-profiles # Compile all mcs tests test: mcs-do-test-profiles +xunit-test: mcs-do-xunit-test-profiles CLEANFILES = etc/mono/config |