Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaja R Harinath <harinath@hurrynot.org>2010-04-02 20:54:14 +0400
committerRaja R Harinath <harinath@hurrynot.org>2010-04-02 20:54:14 +0400
commitc02e9f4d9055538ca5b2eb27726b4abff0c00100 (patch)
tree8c464970b26100d99debb3b66d943bdc8f73455c /mcs/tests/Makefile
parent3530b5e7c25858bc50b7e2d0f3751a170aee184f (diff)
Fix gtest-284 failure in net_4_0 profile
* Makefile (DEFINES) [moonlight, net_4_0]: New. (check): Use it. * gtest-284.cs [NET_4_0]: Don't complain about IStructuralEquatable and IStructuralComparable array interfaces. svn path=/trunk/mcs/; revision=154733
Diffstat (limited to 'mcs/tests/Makefile')
-rw-r--r--mcs/tests/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/mcs/tests/Makefile b/mcs/tests/Makefile
index 956b930e7b3..209813b1086 100644
--- a/mcs/tests/Makefile
+++ b/mcs/tests/Makefile
@@ -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 (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,12 +74,12 @@ 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)
+ $(TESTER) -mode:pos -files:$(TEST_PATTERN) -compiler:$(COMPILER) -issues:known-issues-$(COMPILER_NAME) -log:$(COMPILER_NAME).log $(TOPTIONS) $(DEFINES)
test-local:
@:
@@ -111,7 +113,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