diff options
author | Gabriel Burt <gabriel.burt@gmail.com> | 2010-05-22 10:40:36 -0700 |
---|---|---|
committer | Gabriel Burt <gabriel.burt@gmail.com> | 2010-05-22 10:41:50 -0700 |
commit | 606b028b1e7f6219ed3ca6a4dde189d9b7b43185 (patch) | |
tree | 9840da35b0ba495fab99ecdf58a3ea734778318a | |
parent | 666c3e5eb3487a1d79a18261fa747ee7fc430a63 (diff) |
[tests] Fall back to nunit-console from nunit-console2
-rw-r--r-- | tests/Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 3daab87e4..93a1da93e 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; \ |