summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAaron Bockover <abock@src.gnome.org>2008-05-21 22:42:09 +0000
committerAaron Bockover <abock@src.gnome.org>2008-05-21 22:42:09 +0000
commit8cff09a0c76572a64f6221f0a44a18e127ab2b16 (patch)
tree209ddc1762a1ac5719593dc897104939faab17fa /tests
parent0ce29ab2fe22bf83f15e1de48195660ece8e27a1 (diff)
Small fixes to the build, still doesn't fix the tests yet
svn path=/trunk/banshee/; revision=3946
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am30
1 files changed, 2 insertions, 28 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 53db7a196..a08b04ba4 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -3,27 +3,6 @@ include $(top_srcdir)/build/build.environment.mk
MCS_FLAGS = -debug
NUNIT_FLAGS = @MONO_NUNIT_LIBS@
-ASSEMBLY_NAME = banshee-tests
-ASSEMBLY = $(DIR_BIN)/$(ASSEMBLY_NAME).dll
-ASSEMBLY_CSFILES = \
- $(srcdir)/BansheeTests.cs \
- $(srcdir)/Hyena/CryptoUtilTests.cs \
- $(srcdir)/Hyena/DbBoundType.cs \
- $(srcdir)/Hyena/RangeCollectionTests.cs \
- $(srcdir)/Hyena/StringUtilTests.cs \
- $(srcdir)/Hyena/SqliteCommandTests.cs \
- $(srcdir)/Hyena/SqliteModelProviderTests.cs \
- $(srcdir)/Hyena/QueryTests.cs \
- $(srcdir)/Banshee.Services/SmartPlaylistTests.cs \
- $(srcdir)/Banshee.ThickClient/GuiTests.cs \
- $(srcdir)/Banshee.Core/TaglibReadWriteTests.cs \
- $(srcdir)/Migo/XmlTests.cs
-
-# Banshee.Core/KernelTests.cs
-# Banshee.Core/FileNamePatternTests.cs
-# Banshee.Services/PlaylistFormatTests.cs
-# Banshee.Services/Xspf/Xspf.cs
-
NUNIT_TESTER_NAME = ConsoleUi
NUNIT_TESTER = $(DIR_BIN)/$(NUNIT_TESTER_NAME).exe
NUNIT_TESTER_CSFILES = \
@@ -32,18 +11,13 @@ NUNIT_TESTER_CSFILES = \
REF_BANSHEE_NUNIT = $(LINK_HYENA_DEPS) $(LINK_BANSHEE_CORE_DEPS) $(LINK_BANSHEE_THICKCLIENT_DEPS) $(LINK_NEREID_DEPS) $(ASSEMBLY_CSFILES) $(REF_BACKEND_UNIX) $(LINK_MIGO_DEPS)
-$(ASSEMBLY): $(ASSEMBLY_CSFILES)
- $(MCS) $(MCS_FLAGS) $(NUNIT_FLAGS) -out:$@ -target:library -r:System.Xml $(REF_BANSHEE_NUNIT) -r:$(DIR_BIN)/Banshee.Unix.dll
-
$(NUNIT_TESTER): $(NUNIT_TESTER_CSFILES)
$(MCS) $(MCS_FLAGS) -out:$@ $(NUNIT_FLAGS) $(NUNIT_TESTER_CSFILES)
if ENABLE_TESTS
-all: $(ASSEMBLY)
-
-test: $(NUNIT_TESTER) $(ASSEMBLY)
+test: $(NUNIT_TESTER)
@pushd $(top_builddir)/bin; \
- TZ=America/Chicago LC_ALL=it_IT LANG=it_IT MONO_PATH="$(DIR_BIN)" mono --debug $(NUNIT_TESTER) $(ASSEMBLY)
+ TZ=America/Chicago LC_ALL=it_IT LANG=it_IT MONO_PATH="$(DIR_BIN)" mono --debug $(NUNIT_TESTER) $(top_builddir)/bin/*.dll
popd;
endif