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

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLluis Sanchez <lluis@novell.com>2010-03-02 16:53:48 +0300
committerLluis Sanchez <lluis@novell.com>2010-03-02 16:53:48 +0300
commitc1686f5374a14e434ecf680815df3d3fe46c6a52 (patch)
treedc635695e63f4ccc7041f5604e50c3e4c9f8e279 /main/src/addins/MonoDevelop.Debugger/Makefile.am
parent5631f8737913fe4561701209961fc15f8b214629 (diff)
* Makefile.am: Added target for running the tests.
* MonoDevelop.Debugger.Tests/DebugTests.cs: * MonoDevelop.Debugger.Tests.TestApp/Main.cs: * MonoDevelop.Debugger.Tests/EvaluationTests.cs: * MonoDevelop.Debugger.Tests/MdbEvaluationTests.cs: Added boxing tests. Disable assignment tests for MDB only, they now work with SDB. svn path=/trunk/monodevelop/; revision=152836
Diffstat (limited to 'main/src/addins/MonoDevelop.Debugger/Makefile.am')
-rw-r--r--main/src/addins/MonoDevelop.Debugger/Makefile.am8
1 files changed, 8 insertions, 0 deletions
diff --git a/main/src/addins/MonoDevelop.Debugger/Makefile.am b/main/src/addins/MonoDevelop.Debugger/Makefile.am
index 61f74ccd6a..4ac3125412 100644
--- a/main/src/addins/MonoDevelop.Debugger/Makefile.am
+++ b/main/src/addins/MonoDevelop.Debugger/Makefile.am
@@ -1,6 +1,8 @@
ADDIN_BUILD = $(top_builddir)/build/AddIns/MonoDevelop.Debugger
ASSEMBLY = $(ADDIN_BUILD)/MonoDevelop.Debugger.dll
+NUNIT_CONSOLE = `pkg-config --variable=libdir mono-nunit`/mono/2.0/nunit-console.exe
+FIXTURE = /fixture=$(fixture)
DEPS = \
$(top_builddir)/build/bin/Mono.Debugging.dll \
@@ -90,6 +92,12 @@ DATA_FILE_BUILD = $(addprefix $(ADDIN_BUILD)/, $(notdir $(DATA_FILES)))
all: $(ASSEMBLY) $(ASSEMBLY).mdb $(DATA_FILE_BUILD)
+test: all
+ if test -n "$(fixture)"; then \
+ fp="-fixture=$(fixture)"; \
+ fi; \
+ $(MD_LAUNCH_SETUP) MONO_PATH=../AddIns/MonoDevelop.Debugger mono --debug $(NUNIT_CONSOLE) -noshadow $(top_builddir)/build/bin/MonoDevelop.Debugger.Tests.dll $$fp
+
$(DATA_FILE_BUILD): $(srcdir)$(subst $(ADDIN_BUILD),, $@)
mkdir -p $(ADDIN_BUILD)
cp $(srcdir)/templates$(subst $(ADDIN_BUILD),,$@) $@