[banshee] tests: break down 'for' loop in different lines



commit c754149125a3336fc091ff46335618ab446b0650
Author: Andrés G. Aragoneses <knocte gmail com>
Date:   Fri Jan 17 14:53:03 2014 +0100

    tests: break down 'for' loop in different lines
    
    This for loop inside the Makefile was a very long
    single line, which is not readable, or diff-friendly
    for future changes.

 tests/Makefile.am |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 55baad4..b7fabef 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -31,7 +31,11 @@ endif
 
 ENV_OPTIONS = TZ=America/Chicago LC_ALL=it_IT LANG=it_IT
 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
+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]