[banshee] [tests] Fall back to nunit-console from nunit-console2



commit 606b028b1e7f6219ed3ca6a4dde189d9b7b43185
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Sat May 22 10:40:36 2010 -0700

    [tests] Fall back to nunit-console from nunit-console2

 tests/Makefile.am |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 3daab87..93a1da9 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -21,7 +21,8 @@ TEST_ASSEMBLIES += Banshee.Gio.dll
 endif
 
 ENV_OPTIONS = TZ=America/Chicago LC_ALL=it_IT LANG=it_IT
-RUNNER = for asm in $${TEST_ASSEMBLIES}; do echo -e "\033[1mRunning tests on $${asm}...\033[0m"; $(ENV_OPTIONS) nunit-console2 -nologo -noshadow $$asm; done
+NUNIT_CONSOLE = $$(echo $$(which nunit-console2 || which nunit-console))
+RUNNER = for asm in $${TEST_ASSEMBLIES}; do echo -e "\033[1mRunning tests on $${asm}...\033[0m"; $(ENV_OPTIONS) $(NUNIT_CONSOLE) -nologo -noshadow $$asm; done
 
 test:
 	@pushd $(DIR_BIN) &>/dev/null; \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]