summaryrefslogtreecommitdiff
path: root/tests/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Makefile.am')
-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