diff --git a/Makefile b/Makefile index 01c689db53..14aeca3b8a 100644 --- a/Makefile +++ b/Makefile @@ -82,16 +82,16 @@ test-http1: all test-valgrind: all $(PYTHON) tools/test.py --mode=release --valgrind simple message -test/gc/node_modules/weak/build: +test/gc/node_modules/weak/build/Release/weakref.node: @if [ ! -f node ]; then make all; fi ./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 test/gc/node_modules/weak/build +test-gc: all test/gc/node_modules/weak/build/Release/weakref.node $(PYTHON) tools/test.py --mode=release gc -test-all: all test/gc/node_modules/weak/build +test-all: all test/gc/node_modules/weak/build/Release/weakref.node $(PYTHON) tools/test.py --mode=debug,release make test-npm