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

Makefile.am « UnitTests « tests « main - github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f01bbb486b688569a33229d049baa9f6fc384268 (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
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) \
	-r:../../build/AddIns/BackendBindings/MonoDevelop.CSharpBinding.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/bin/Mono.TextEditor.dll \
	-r:../../build/bin/MonoDevelop.Components.dll \
	-r:../../build/bin/MonoDevelop.Core.dll \
	-r:../../build/bin/MonoDevelop.Core.Gui.dll \
	-r:../../build/bin/MonoDevelop.Ide.dll \
	-r:../../build/bin/MonoDevelop.Projects.dll \
	-r:../../build/bin/MonoDevelop.Projects.Gui.dll \
	-r:../../build/bin/NRefactory.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:System \
	-r:System.Core \
	-r:System.Xml

FILES =  \
	Mono.TextEditor.Tests.DefaultEditActions/CaretMoveActionTests.cs \
	Mono.TextEditor.Tests.DefaultEditActions/DeleteActionTests.cs \
	Mono.TextEditor.Tests.DefaultEditActions/InsertNewLineTests.cs \
	Mono.TextEditor.Tests.DefaultEditActions/InsertTabTests.cs \
	Mono.TextEditor.Tests.DefaultEditActions/RemoveTabTests.cs \
	Mono.TextEditor.Tests.DefaultEditActions/SelectionActionTests.cs \
	Mono.TextEditor.Tests/DocumentTests.cs \
	Mono.TextEditor.Tests/FoldingTests.cs \
	Mono.TextEditor.Tests/LineSplitterTests.cs \
	Mono.TextEditor.Tests/SearchTests.cs \
	Mono.TextEditor.Tests/SelectionTests.cs \
	Mono.TextEditor.Tests/SyntaxHighlightingTests.cs \
	Mono.TextEditor.Tests/UndoRedoTests.cs \
	MonoDevelop.AspNet/AspNetCompletionTests.cs \
	MonoDevelop.AspNet/AspNetTesting.cs \
	MonoDevelop.CSharpBinding/CodeCompletionAccessibleTests.cs \
	MonoDevelop.CSharpBinding/CodeCompletionBugTests.cs \
	MonoDevelop.CSharpBinding/CodeCompletionCSharp3Tests.cs \
	MonoDevelop.CSharpBinding/CodeCompletionCSharpTests.cs \
	MonoDevelop.CSharpBinding/CodeCompletionOperatorTests.cs \
	MonoDevelop.CSharpBinding/FindMemberVisitorTests.cs \
	MonoDevelop.CSharpBinding/MemberTests.cs \
	MonoDevelop.CSharpBinding/ParameterCompletionTests.cs \
	MonoDevelop.CSharpBinding/ProjectDomTests.cs \
	MonoDevelop.CSharpBinding/TestViewContent.cs \
	MonoDevelop.CSharpBinding/TestWorkbenchWindow.cs \
	MonoDevelop.CSharpBinding/TopLevelTests.cs \
	MonoDevelop.Projects.Gui/CompletionListWindowTests.cs \
	MonoDevelop.Projects/CompletionDatabaseTests.cs \
	MonoDevelop.Projects/DomCompilationUnitTests.cs \
	MonoDevelop.Projects/DomPersistenceTests.cs \
	MonoDevelop.Projects/DomTests.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/SolutionTests.cs \
	MonoDevelop.Projects/TestProjectsChecks.cs \
	MonoDevelop.Projects/TextFormatterTests.cs \
	MonoDevelop.Projects/WorkspaceTests.cs \
	MonoDevelop.Refactoring/CreateBackingStoreTests.cs \
	MonoDevelop.Refactoring/DeclareLocalTests.cs \
	MonoDevelop.Refactoring/ExtractMethodTests.cs \
	MonoDevelop.Refactoring/IntegrateTemporaryVariableTests.cs \
	MonoDevelop.Refactoring/IntroduceConstantRefactoringTests.cs \
	MonoDevelop.Refactoring/IntroduceFormatItemRefactoringTests.cs \
	MonoDevelop.Refactoring/RemoveBackingStoreTests.cs \
	MonoDevelop.Xml.StateEngine/AspNetParsingTests.cs \
	MonoDevelop.Xml.StateEngine/HtmlParsingTests.cs \
	MonoDevelop.Xml.StateEngine/ParsingTests.cs \
	MonoDevelop.Xml.StateEngine/TestParser.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