blob: 601098f25a0ac60c153735ed1ff53ec30da14b9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
|
RUNTIME = mono
ASSEMBLY = $(top_builddir)/build/bin/UnitTests.dll
RES =
assemblydir = $(MD_ASSEMBLY_DIR)
assembly_DATA = $(ASSEMBLY)
NUNIT_CONSOLE = `pkg-config --variable=libdir mono-nunit`/mono/2.0/nunit-console.exe
FIXTURE = /fixture=$(fixture)
REFS = \
$(GLIB_SHARP_LIBS) \
$(GTK_SHARP_LIBS) \
$(MONO_ADDINS_LIBS) \
-r:../../build/AddIns/BackendBindings/MonoDevelop.CSharpBinding.dll \
-r:../../build/AddIns/DisplayBindings/SourceEditor/MonoDevelop.SourceEditor2.dll \
-r:../../build/AddIns/MonoDevelop.AspNet/MonoDevelop.AspNet.dll \
-r:../../build/AddIns/MonoDevelop.Autotools/MonoDevelop.Autotools.dll \
-r:../../build/AddIns/MonoDevelop.Deployment/MonoDevelop.Deployment.dll \
-r:../../build/AddIns/MonoDevelop.DesignerSupport/MonoDevelop.DesignerSupport.dll \
-r:../../build/AddIns/MonoDevelop.Refactoring/MonoDevelop.Refactoring.dll \
-r:../../build/AddIns/MonoDevelop.XmlEditor/MonoDevelop.XmlEditor.dll \
-r:../../build/AddIns/VersionControl/MonoDevelop.VersionControl.dll \
-r:../../build/AddIns/VersionControl/MonoDevelop.VersionControl.Git.dll \
-r:../../build/bin/ICSharpCode.NRefactory.CSharp.dll \
-r:../../build/bin/ICSharpCode.NRefactory.dll \
-r:../../build/bin/Mono.TextEditor.dll \
-r:../../build/bin/MonoDevelop.Core.dll \
-r:../../build/bin/MonoDevelop.Ide.dll \
-r:../../build/bin/OldNRefactory.dll \
-r:../../external/ngit/bin/NGit.dll \
-r:../../external/ngit/bin/NSch.dll \
-r:../../external/ngit/bin/Sharpen.dll \
-r:../../src/addins/NUnit/lib/nunit.core.dll \
-r:../../src/addins/NUnit/lib/nunit.core.interfaces.dll \
-r:../../src/addins/NUnit/lib/nunit.framework.dll \
-r:../../src/addins/NUnit/lib/nunit.util.dll \
-r:Mono.Cairo \
-r:System \
-r:System.Core \
-r:System.Xml
FILES = \
Mono.TextEditor.Tests.DefaultEditActions/BookmarkActionsTests.cs \
Mono.TextEditor.Tests.DefaultEditActions/CaretMoveActionTests.cs \
Mono.TextEditor.Tests.DefaultEditActions/DeleteActionTests.cs \
Mono.TextEditor.Tests.DefaultEditActions/FoldActionTests.cs \
Mono.TextEditor.Tests.DefaultEditActions/InsertTabTests.cs \
Mono.TextEditor.Tests.DefaultEditActions/MiscActionsTest.cs \
Mono.TextEditor.Tests.DefaultEditActions/RemoveTabTests.cs \
Mono.TextEditor.Tests.DefaultEditActions/SelectionActionTests.cs \
Mono.TextEditor.Tests.DefaultEditActions/TextEditorTestBase.cs \
Mono.TextEditor.Tests/BlockSelectionModeTests.cs \
Mono.TextEditor.Tests/BufferTests.cs \
Mono.TextEditor.Tests/DocumentTests.cs \
Mono.TextEditor.Tests/FoldingTests.cs \
Mono.TextEditor.Tests/HeightTreeTests.cs \
Mono.TextEditor.Tests/InsertionModeTests.cs \
Mono.TextEditor.Tests/LineSplitterTests.cs \
Mono.TextEditor.Tests/RedBlackTreeTests.cs \
Mono.TextEditor.Tests/RtfWriterTests.cs \
Mono.TextEditor.Tests/SearchTests.cs \
Mono.TextEditor.Tests/SegmentTreeTests.cs \
Mono.TextEditor.Tests/SelectionTests.cs \
Mono.TextEditor.Tests/SmartIndentModeTests.cs \
Mono.TextEditor.Tests/SyntaxHighlightingTests.cs \
Mono.TextEditor.Tests/TextBreakerTests.cs \
Mono.TextEditor.Tests/TextFileReaderTests.cs \
Mono.TextEditor.Tests/UndoRedoTests.cs \
Mono.TextEditor.Tests/VirtualIndentModeTests.cs \
Mono.TextEditor.Tests/VirtualSpacesTests.cs \
Mono.TextEditor.Tests/ViTests.cs \
MonoDevelop.CSharpBinding.Refactoring/GenerateNewMemberTests.cs \
MonoDevelop.CSharpBinding.Refactoring/ImplementInterfaceTests.cs \
MonoDevelop.CSharpBinding.Refactoring/ResolveNamespaceTests.cs \
MonoDevelop.CSharpBinding/CSharpTextEditorIndentationTests.cs \
MonoDevelop.CSharpBinding/FindMemberVisitorTests.cs \
MonoDevelop.CSharpBinding/FoldingParserTests.cs \
MonoDevelop.CSharpBinding/MemberTests.cs \
MonoDevelop.CSharpBinding/OnTheFlyFormatterTests.cs \
MonoDevelop.CSharpBinding/ProjectDomTests.cs \
MonoDevelop.CSharpBinding/TestDocument.cs \
MonoDevelop.CSharpBinding/TestViewContent.cs \
MonoDevelop.CSharpBinding/TestWorkbenchWindow.cs \
MonoDevelop.Ide.FindInFiles/MemberCollectorTests.cs \
MonoDevelop.Ide.FindInFiles/SearchCollectorTests.cs \
MonoDevelop.Ide.Gui/CompletionListWindowTests.cs \
MonoDevelop.Projects/FileServiceTests.cs \
MonoDevelop.Projects/LocalCopyTests.cs \
MonoDevelop.Projects/MakefileTests.cs \
MonoDevelop.Projects/MdsTests.cs \
MonoDevelop.Projects/MonoDeveloperFormatTests.cs \
MonoDevelop.Projects/MSBuildTests.cs \
MonoDevelop.Projects/PackagingTests.cs \
MonoDevelop.Projects/ProjectTests.cs \
MonoDevelop.Projects/SolutionFolderTests.cs \
MonoDevelop.Projects/SolutionTests.cs \
MonoDevelop.Projects/TestProjectsChecks.cs \
MonoDevelop.Projects/TextFormatterTests.cs \
MonoDevelop.Projects/WorkspaceTests.cs \
MonoDevelop.SourceEditor/SourceEditorTests.cs \
MonoDevelop.VersionControl.Git/GitUtilsTests.cs \
MonoDevelop.VersionControl.Views/EditorCompareWidgetBaseTest.cs \
TestBase.cs \
Util.cs
all: $(ASSEMBLY)
test: all
rm -rf ../tmp
if test -n "$(fixture)"; then \
fp="-fixture=$(fixture)"; \
fi; \
$(MD_LAUNCH_SETUP) MONO_PATH=$(top_builddir)/build/AddIns/MonoDevelop.DesignerSupport:$(top_builddir)/build/AddIns/MonoDevelop.Refactoring:$(top_builddir)/build/AddIns/BackendBindings:$(top_builddir)/build/AddIns/MonoDevelop.XmlEditor:$(top_builddir)/build/AddIns/MonoDevelop.AspNet mono --debug $(NUNIT_CONSOLE) -noshadow $(top_builddir)/build/bin/UnitTests.dll $$fp
CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb
EXTRA_DIST = $(FILES) $(RES)
$(ASSEMBLY): $(build_sources) $(build_resources)
mkdir -p $(top_builddir)/build/bin/
$(CSC) $(CSC_FLAGS) -out:$@ -target:library $(build_sources) $(build_resources:%=/resource:%) $(REFS)
include $(top_srcdir)/Makefile.include
|