summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorRyan <ry@tinyclouds.org>2009-06-22 13:51:47 +0200
committerRyan <ry@tinyclouds.org>2009-06-22 14:08:42 +0200
commit3fed1a095434877f6abe946ff6d788410b1dc66b (patch)
tree4d4b32f9a293a5d1871d7068a87aec31be01eee6 /configure
parentdce072a67e0f83e6ef45c5624e7a4410c8f796fb (diff)
downloadnode-new-3fed1a095434877f6abe946ff6d788410b1dc66b.tar.gz
Use v8's test runner
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure15
1 files changed, 4 insertions, 11 deletions
diff --git a/configure b/configure
index a106344647..4c018593ab 100755
--- a/configure
+++ b/configure
@@ -93,19 +93,12 @@ 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 "default \$\$i: "; \\
- build/default/node \$\$i && \$(PASS) || \$(FAIL); \\
- if [ -e build/debug/node ]; then \\
- echo "debug \$\$i: "; \\
- build/debug/node \$\$i && \$(PASS) || \$(FAIL); \\
- fi; \\
- done
+ python tools/test.py --mode=release
+
+test-debug: all
+ python tools/test.py --mode=debug
clean:
@$WAF clean