FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add color PASS/FAIL statements. Use python for portability. · objcode/node@b9fedf0 · GitHub

Commit b9fedf0

Browse files
committed
Add color PASS/FAIL statements. Use python for portability.
1 parent 6a172d7 commit b9fedf0

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎configure‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,14 @@ uninstall:
9191
else \\
9292
$WAF uninstall ; \\
9393
fi;
94+
95+
FAIL=python -c 'print("\033[1;31mFAIL\033[m")'
96+
PASS=python -c 'print("\033[1;32mPASS\033[m")'
9497
9598
test: all
9699
@for i in test/test*.js; do \\
97100
echo "\$\$i: "; \\
98-
build/debug/node \$\$i && echo PASS || echo FAIL; \\
101+
build/debug/node \$\$i && \$(PASS) || \$(FAIL); \\
99102
done
100103
101104
clean:

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL