Add [Category ("NotWorking")] to failing test.
[mono.git] / mcs / class / Microsoft.Build.Engine / Makefile
1 thisdir = class/Microsoft.Build.Engine
2 SUBDIRS = 
3 include ../../build/rules.make
4
5 LIBRARY = Microsoft.Build.Engine.dll
6
7 BUILD_FRAMEWORK = Microsoft.Build.Framework.dll
8
9 ifeq (3.5, $(FRAMEWORK_VERSION))
10 NAME_SUFFIX = .v3.5
11 BUILD_FRAMEWORK := $(topdir)/class/lib/$(PROFILE)/$(BUILD_FRAMEWORK)
12 else
13 ifeq (4, $(FRAMEWORK_VERSION_MAJOR))
14 NAME_SUFFIX = .v4.0
15 endif
16 endif
17
18 LIB_MCS_FLAGS = \
19         /r:$(corlib)                            \
20         /r:System.dll                           \
21         /r:System.Core.dll              \
22         /r:System.Xml.dll                       \
23         /r:$(BUILD_FRAMEWORK)                   \
24         /r:Microsoft.Build.Utilities$(NAME_SUFFIX).dll
25
26 TEST_MCS_FLAGS = \
27         /r:$(BUILD_FRAMEWORK)   \
28         /r:Microsoft.Build.Utilities$(NAME_SUFFIX).dll \
29         /r:System.Xml.dll
30
31 EXTRA_DISTFILES = \
32         Test/resources/TestTasks.cs             \
33         Test/resources/*.*proj  \
34         Test/resources/*.csproj \
35         Test/test-config-file*
36
37 Test/resources/TestTasks.dll: Test/resources/TestTasks.cs
38         $(CSCOMPILE) Test/resources/TestTasks.cs /r:Microsoft.Build.Framework.dll /r:Microsoft.Build.Utilities$(NAME_SUFFIX).dll /target:library
39
40 clean-local: clean-test-tasks
41
42 clean-test-tasks:
43         rm -f Test/resources/TestTasks.dll      
44
45 test-local: copy-config
46
47 ifeq (net_4_0, $(PROFILE))
48 copy-config:
49         cp Test/test-config-file-net-4.0 $(test_lib).config
50 else
51 ifeq (net_3_5, $(PROFILE))
52 copy-config:
53         cp Test/test-config-file-net-3.5 $(test_lib).config
54 else
55 copy-config:
56 endif
57 endif
58
59 export TESTING_MONO=a
60 XBUILD_DIR=../../tools/xbuild
61 include $(XBUILD_DIR)/xbuild_targets.make
62
63 test-local: Test/resources/TestTasks.dll
64
65 include ../../build/library.make