Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

test: bundle node-weak in test/gc so that it doesn't need to be downl…

…oaded
  • Loading branch information...
TooTallNate authored and piscisaureus committed Jun 13, 2012
1 parent 35a1421 commit 6a8b5b36b4570b4e9468f4c4599f8f6513c35017
@@ -61,17 +61,16 @@ test-http1: all
test-valgrind: all
$(PYTHON) tools/test.py --mode=release --valgrind simple message

node_modules/weak:
test/gc/node_modules/weak/build:
@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 \
--nodedir="$(shell pwd)" \
--prefix="$(shell pwd)" --unsafe-perm # go ahead and run as root.
./node deps/npm/node_modules/node-gyp/bin/node-gyp rebuild \
--directory="$(shell pwd)/test/gc/node_modules/weak" \
--nodedir="$(shell pwd)"

test-gc: all node_modules/weak
test-gc: all test/gc/node_modules/weak/build
$(PYTHON) tools/test.py --mode=release gc

test-all: all node_modules/weak
test-all: all test/gc/node_modules/weak/build
$(PYTHON) tools/test.py --mode=debug,release
make test-npm

Some generated files are not rendered by default. Learn more.

Some generated files are not rendered by default. Learn more.

Some generated files are not rendered by default. Learn more.

Some generated files are not rendered by default. Learn more.

Some generated files are not rendered by default. Learn more.

0 comments on commit 6a8b5b3

Please sign in to comment.
You can’t perform that action at this time.