diff options
author | Ryan <ry@tinyclouds.org> | 2009-05-19 20:31:40 +0200 |
---|---|---|
committer | Ryan <ry@tinyclouds.org> | 2009-05-19 20:31:40 +0200 |
commit | b9fedf05009c43173b6f3ab2fdc08ff8e55ecff3 (patch) | |
tree | 4dbe92ab46b18f5da31103c667b409eec4f89780 /configure | |
parent | 6a172d71199524af0fc3e5b75729b855502e25c9 (diff) | |
download | android-node-v8-b9fedf05009c43173b6f3ab2fdc08ff8e55ecff3.tar.gz android-node-v8-b9fedf05009c43173b6f3ab2fdc08ff8e55ecff3.tar.bz2 android-node-v8-b9fedf05009c43173b6f3ab2fdc08ff8e55ecff3.zip |
Add color PASS/FAIL statements. Use python for portability.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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: |