test: Run weak install with --unsafe-perm
This way it doesn't die when running as root.
This commit is contained in:
Родитель
aaf0453b7c
Коммит
711ecdd54f
3
Makefile
3
Makefile
|
@ -44,7 +44,8 @@ test-valgrind: 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)"
|
||||
./node deps/npm/bin/npm-cli.js install weak \
|
||||
--prefix="$(shell pwd)" --unsafe-perm # go ahead and run as root.
|
||||
|
||||
test-gc: all node_modules/weak
|
||||
$(PYTHON) tools/test.py --mode=release gc
|
||||
|
|
Загрузка…
Ссылка в новой задаче