aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorRyan <ry@tinyclouds.org>2009-04-21 13:51:05 +0200
committerRyan <ry@tinyclouds.org>2009-04-21 13:51:05 +0200
commitec9697b1ba442a21be2ad8046d96ace09ce95ac3 (patch)
treec08001fbc17c295f98a50886d2974447cf1113fe /configure
parentf5b2a8f072ab8941eb5ac5fccb1fc8e1dcfc6c8b (diff)
downloadandroid-node-v8-ec9697b1ba442a21be2ad8046d96ace09ce95ac3.tar.gz
android-node-v8-ec9697b1ba442a21be2ad8046d96ace09ce95ac3.tar.bz2
android-node-v8-ec9697b1ba442a21be2ad8046d96ace09ce95ac3.zip
add 'make test'
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 8 insertions, 1 deletions
diff --git a/configure b/configure
index efa9df2671..db2d3c52b8 100755
--- a/configure
+++ b/configure
@@ -99,6 +99,12 @@ uninstall:
else \\
$WAF uninstall ; \\
fi;
+
+test: all
+ @for i in test/test*.js; do \\
+ echo -n "\$\$i: "; \\
+ build/default/node \$\$i && echo pass || echo fail; \\
+ done
clean:
@$WAF clean
@@ -107,6 +113,7 @@ distclean:
@$WAF distclean
@-rm -rf _build_
@-rm -f Makefile
+ @-rm -f *.pyc
check:
@$WAF check
@@ -114,7 +121,7 @@ check:
dist:
@$WAF dist
-.PHONY: clean dist distclean check uninstall install all
+.PHONY: clean dist distclean check uninstall install all test
EOF
}