mirror of
https://github.com/nodejs/node.git
synced 2025-12-28 07:50:41 +00:00
Add color PASS/FAIL statements. Use python for portability.
This commit is contained in:
parent
6a172d7119
commit
b9fedf0500
5
configure
vendored
5
configure
vendored
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user