diff options
author | isaacs <i@izs.me> | 2012-05-03 21:16:25 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-05-03 21:36:17 +0400 |
commit | 91120e04297009ddabb6b7c68ec83a092041903c (patch) | |
tree | 13037730218f97edd9334f13e4c33876096cfc41 /Makefile | |
parent | b7e8e35c0ed2d1faeac1354fcc6b34c5590075fa (diff) |
Tests for memory leaks
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -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 |