projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a172d7
)
Add color PASS/FAIL statements. Use python for portability.
author
Ryan
<ry@tinyclouds.org>
Tue, 19 May 2009 18:31:40 +0000
(20:31 +0200)
committer
Ryan
<ry@tinyclouds.org>
Tue, 19 May 2009 18:31:40 +0000
(20:31 +0200)
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index
191e069
..
56d26ad
100755
(executable)
--- 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: