X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Ftests%2FMakefile;h=1fabf7cf8cc8198aa2200e5b993e284bed2d32c5;hb=d2e60f48b66508995e8091ab68c6b9dd2c67ecca;hp=10674f5cd9ec50902bc0db9d25355599b17fa65d;hpb=e1403cc11ae3ac5016aa098bdfdca301dcc86296;p=mono.git diff --git a/mcs/tests/Makefile b/mcs/tests/Makefile index 10674f5cd9e..1fabf7cf8cc 100644 --- a/mcs/tests/Makefile +++ b/mcs/tests/Makefile @@ -54,7 +54,7 @@ DEFINES = -compiler-options:"-d:NET_4_0;NET_4_5 -debug" endif LOCAL_RUNTIME_FLAGS = --verify-all -COMPILER = $(topdir)/class/lib/$(BUILD_TOOLS_PROFILE)/mcs.exe +COMPILER = $(topdir)/class/lib/$(PROFILE)/mcs.exe TESTER = MONO_RUNTIME='$(RUNTIME)' $(TEST_RUNTIME) $(RUNTIME_FLAGS) $(LOCAL_RUNTIME_FLAGS) $(topdir)/class/lib/$(PROFILE)/compiler-tester.exe TEST_ILS := $(wildcard *-lib.il) @@ -95,7 +95,13 @@ csproj-local: %-lib.dll: %-lib.il $(ILASM) /dll /out:$@ $< +CSCOMPILE_UTIL = $(CSCOMPILE) -noconfig -nologo -r:$(topdir)/class/lib/$(PROFILE)/mscorlib.dll + setup: - $(CSCOMPILE) -t:library dlls/test-679-2/test-679-lib-2.cs - $(CSCOMPILE) -t:library dlls/test-679-1/test-679-lib.cs -r:dlls/test-679-2/test-679-lib-2.dll + $(CSCOMPILE_UTIL) -t:library dlls/test-679-2/test-679-lib-2.cs -out:dlls/test-679-2/test-679-lib-2.dll + $(CSCOMPILE_UTIL) -t:library dlls/test-679-1/test-679-lib.cs -r:dlls/test-679-2/test-679-lib-2.dll -out:dlls/test-679-1/test-679-lib.dll + $(CSCOMPILE_UTIL) -t:library dlls/test-939-common.cs -keyfile:key.snk -publicsign -out:dlls/test-939-common.dll + $(CSCOMPILE_UTIL) -t:library dlls/test-939-1/test-939-lib.cs -keyfile:key.snk -publicsign -out:dlls/test-939-1/test-939-lib.dll + $(CSCOMPILE_UTIL) -t:library dlls/test-939-1/test-939-ref.cs -r:dlls/test-939-1/test-939-lib.dll -keyfile:key.snk -publicsign -out:dlls/test-939-1/test-939-ref.dll + $(CSCOMPILE_UTIL) -t:library dlls/test-939-2/test-939-lib.cs -r:dlls/test-939-common.dll -keyfile:key.snk -publicsign -out:dlls/test-939-2/test-939-lib.dll $(ILASM) -dll dlls/test-883.il