diff options
author | Alexander Köplinger <alex.koeplinger@outlook.com> | 2018-11-12 02:37:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-12 02:37:11 +0300 |
commit | 5d2525527ef827f9ad669a8a32c36c05bce1d843 (patch) | |
tree | 32eb352a0e557bcc9433cc6d0e694e6ddd8b767d /mcs/Makefile | |
parent | 95a26ebff9d20be9d5dd51b5d9a79c8e27516944 (diff) |
Add common "test" target for precompiling test assemblies (#11622)
So we can precompile all tests across the repo using a simple "make test" in the root.
Diffstat (limited to 'mcs/Makefile')
-rw-r--r-- | mcs/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/mcs/Makefile b/mcs/Makefile index e8489c73e82..b606e1214a4 100644 --- a/mcs/Makefile +++ b/mcs/Makefile @@ -43,8 +43,8 @@ dir-check: PROFILES = net_4_x binary_reference_assemblies xbuild_12 xbuild_14 -.PHONY: all-profiles $(STD_TARGETS:=-profiles) -all-profiles $(STD_TARGETS:=-profiles): %-profiles: profiles-do--% +.PHONY: all-profiles compiler-test-profiles run-compiler-test-profiles $(STD_TARGETS:=-profiles) +all-profiles compiler-test-profiles run-compiler-test-profiles $(STD_TARGETS:=-profiles): %-profiles: profiles-do--% @: profiles-do--%: @@ -87,11 +87,13 @@ $(_boot_:%=profile-do--unreal--%): profile-do--unreal--%: $(_boot_:%=profile-do--wasm--%): profile-do--wasm--%: profile-do--build--% $(_boot_:%=profile-do--wasm_tools--%): profile-do--wasm_tools--%: profile-do--build--% -testcorlib: - @cd class/corlib && $(MAKE) test run-test +compiler-test: + $(MAKE) -C tests test + $(MAKE) -C errors test -compiler-tests: - $(MAKE) TEST_SUBDIRS="tests errors" run-test-profiles +run-compiler-test: + $(MAKE) -C tests run-test + $(MAKE) -C errors run-test package := mcs-$(VERSION) |