From: Ryan Date: Tue, 19 May 2009 18:31:40 +0000 (+0200) Subject: Add color PASS/FAIL statements. Use python for portability. X-Git-Tag: v0.0.1~32 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b9fedf05009c43173b6f3ab2fdc08ff8e55ecff3;p=platform%2Fupstream%2Fnodejs.git Add color PASS/FAIL statements. Use python for portability. --- diff --git a/configure b/configure index 191e069..56d26ad 100755 --- a/configure +++ b/configure @@ -91,11 +91,14 @@ uninstall: else \\ $WAF uninstall ; \\ fi; + +FAIL=python -c 'print("\033[1;31mFAIL\033[m")' +PASS=python -c 'print("\033[1;32mPASS\033[m")' test: all @for i in test/test*.js; do \\ echo "\$\$i: "; \\ - build/debug/node \$\$i && echo PASS || echo FAIL; \\ + build/debug/node \$\$i && \$(PASS) || \$(FAIL); \\ done clean: