summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2012-05-04 12:51:37 -0700
committerisaacs <i@izs.me>2012-05-04 12:52:59 -0700
commit711ecdd54fa9a874d9f2836c71affc92e1a89e67 (patch)
tree7786f5892ce4d72ffa2603f0953f2ccd1ee782ed /Makefile
parentaaf0453b7cd6d9986925576303a20691136b278f (diff)
downloadnode-711ecdd54fa9a874d9f2836c71affc92e1a89e67.tar.gz
test: Run weak install with --unsafe-perm
This way it doesn't die when running as root.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5bd675c33..d43347487 100644
--- a/Makefile
+++ b/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