1 include $(top_srcdir)/build/build.environment.mk
12 Hyena.Data.Sqlite.dll \
18 Banshee.Services.dll \
19 Banshee.ThickClient.dll \
21 Banshee.AmazonMp3.exe \
25 TEST_ASSEMBLIES += Banshee.Gio.dll
29 TEST_ASSEMBLIES += Banshee.UbuntuOneMusicStore.dll
32 ENV_OPTIONS = TZ=America/Chicago LC_ALL=it_IT LANG=it_IT
33 MONO_OPTIONS = MONO_ENV_OPTIONS=--debug
34 NUNIT_CONSOLE = $$(echo $$(which nunit-console2 || which nunit-console))
36 if [[ "x$(NUNIT_CONSOLE)" = "x" ]]; then \
37 echo "NUnit runner not found; please install nunit-console or nunit-console2"; \
41 for asm in $${TEST_ASSEMBLIES}; do \
42 echo -e "\033[1mRunning tests on $${asm}...\033[0m"; \
43 $(ENV_OPTIONS) $(MONO_OPTIONS) $(NUNIT_CONSOLE) -nologo -noshadow $$asm \
44 || GLOBAL_EXIT_CODE=$$?; \
46 if [[ $${GLOBAL_EXIT_CODE} -ne 0 ]]; then \
47 echo "One or more tests failed"; \
48 exit $${GLOBAL_EXIT_CODE}; \
52 @pushd $(DIR_BIN) &>/dev/null; \
53 TEST_ASSEMBLIES="$(TEST_ASSEMBLIES)"; $(RUNNER); \
57 @pushd $(DIR_BIN) &>/dev/null; \
59 if [[ $$(echo "$$i" | tr "[:upper:]" "[:lower:]") = "$$(echo "$@" | tr "[:upper:]" "[:lower:]").dll" ]]; then \
60 TEST_ASSEMBLIES="$$i"; $(RUNNER); \
67 echo "Please enable tests via --enable-tests at configuration"
72 MAINTAINERCLEANFILES = Makefile.in