X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=mcs%2Ftests%2FMakefile;h=9170cb295323a2b85a0d6faf37793b25bbd86932;hb=2d23bfcbce7a3f7e54dcd5911adb88b244baca35;hp=4ddeabc7ca84c6ba023a57e5bf10227816956c0e;hpb=c29282519b48d5fbfd73dd2bd1306a7844174f29;p=mono.git diff --git a/mcs/tests/Makefile b/mcs/tests/Makefile index 4ddeabc7ca8..9170cb29532 100644 --- a/mcs/tests/Makefile +++ b/mcs/tests/Makefile @@ -19,7 +19,7 @@ USE_MCS_FLAGS := # mention all targets all-local $(STD_TARGETS:=-local): -VALID_PROFILE := $(filter net_2_0 net_2_1 net_4_0, $(PROFILE)) +VALID_PROFILE := $(filter net_2_0 moonlight net_4_0, $(PROFILE)) ifdef VALID_PROFILE # casts bootstrap-cast.exe: gen-cast-test.cs @@ -50,12 +50,14 @@ ifeq (net_4_0, $(PROFILE)) COMPILER_NAME = dmcs TEST_PATTERN = 'v4' LOCAL_RUNTIME_FLAGS = --verify-all +DEFINES = -compiler-options:"-d:NET_4_0" #TOPTIONS += '-il:ver-il-dmcs.xml' endif -ifeq (net_2_1, $(PROFILE)) +ifeq (moonlight, $(PROFILE)) COMPILER_NAME = smcs TEST_PATTERN = 'v2' LOCAL_RUNTIME_FLAGS = --security=temporary-smcs-hack +DEFINES = -compiler-options:"-d:MOONLIGHT" endif ifeq (net_2_0, $(PROFILE)) COMPILER_NAME = gmcs @@ -72,28 +74,18 @@ TEST_ILS := $(wildcard *-lib.il) eval-test: $(CSCOMPILE) eval-test.cs -r:Mono.CSharp.dll $(with_mono_path) $(RUNTIME) $(RUNTIME_FLAGS) eval-test.exe - + build-compiler-lib: cd ../class/Mono.CSharp && $(MAKE) NO_DIR_CHECK=yes -check: build-compiler-lib eval-test - $(TESTER) -mode:pos -files:$(TEST_PATTERN) -compiler:$(COMPILER) -issues:known-issues-$(COMPILER_NAME) -log:$(COMPILER_NAME).log $(TOPTIONS) +qcheck: build-compiler-lib eval-test + $(TESTER) -mode:pos -files:$(TEST_PATTERN) -compiler:$(COMPILER) -issues:known-issues-$(COMPILER_NAME) -log:$(COMPILER_NAME).log $(TOPTIONS) $(DEFINES) test-local: @: run-test-local: $(TEST_ILS:.il=.dll) setup check -# Temporary testing targets -cecil: - rm -f *.mdb - $(TESTER) -mode:pos -files:'test-*.cs' -compiler:gmcs.exe -issues:known-issues-$(COMPILER_NAME) -log:$(COMPILER_NAME).log -verbose - -cecil2: - rm -f *.mdb - $(TESTER) -mode:pos -files:'*test-*.cs' -compiler:gmcs.exe -issues:known-issues-$(COMPILER_NAME) -log:$(COMPILER_NAME).log -verbose -# End - endif clean-local: @@ -111,7 +103,7 @@ csproj-local: %-lib.dll: %-lib.il $(ILASM) /dll /out:$@ $< - + setup: $(ILASM) /dll property-il.il $(CSCOMPILE) /r:property-il.dll property-main.cs /out:property-main.exe