Permalink
Browse files

Merge branch 'http-memleak' into v0.6

  • Loading branch information...
2 parents ebd0f98 + 2fc528c commit d1effbb338fe5916e5a25fc3d3587016d0725761 @isaacs isaacs committed May 4, 2012
View
@@ -40,3 +40,4 @@ ipch/
email.md
blog.html
deps/v8-*
+node_modules
View
@@ -32,7 +32,7 @@ install:
uninstall:
@$(WAF) uninstall
-test: all
+test: all node_modules/weak
$(PYTHON) tools/test.py --mode=release simple message
test-http1: all
@@ -41,7 +41,15 @@ test-http1: all
test-valgrind: all
$(PYTHON) tools/test.py --mode=release --valgrind simple message
-test-all: all
+node_modules/weak:
+ @if [ ! -f node ]; then make all; fi
+ @if [ ! -d node_modules ]; then mkdir -p node_modules; fi
+ ./node deps/npm/bin/npm-cli.js install weak --prefix="$(shell pwd)"
+
+test-gc: all node_modules/weak
+ $(PYTHON) tools/test.py --mode=release gc
+
+test-all: all node_modules/weak
$(PYTHON) tools/test.py --mode=debug,release
make test-npm
@@ -153,6 +161,7 @@ clean:
$(WAF) clean
-find tools -name "*.pyc" | xargs rm -f
-rm -rf blog.html email.md
+ -rm -rf node_modules
distclean: docclean
-find tools -name "*.pyc" | xargs rm -f
Oops, something went wrong. Retry.

0 comments on commit d1effbb

Please sign in to comment.