From dbda13abb6e3ed8990ee1a479c421cffb437c8a9 Mon Sep 17 00:00:00 2001 From: Michael Dawson Date: Wed, 13 May 2015 10:32:22 -0400 Subject: [PATCH] test: Fix test-npm Makefile target for npm 2.8.4 Changes in npm 2.8.4 broke the test-npm target. This change updates to allow the tests to run once again Reviewed-By: Julien Gilli PR-URL: https://github.com/joyent/node/pull/25294 --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1629d14f74d..f9c83225dd1 100644 --- a/Makefile +++ b/Makefile @@ -158,7 +158,8 @@ test-npm: node cd deps/npm ; npm_config_cache="$(shell pwd)/npm-cache" \ npm_config_prefix="$(shell pwd)/npm-prefix" \ npm_config_tmp="$(shell pwd)/npm-tmp" \ - PATH="../../:${PATH}" node cli.js run-script test-all && \ + PATH="../../:${PATH}" node cli.js run-script test-legacy && \ + PATH="../../:${PATH}" node cli.js run-script test && \ PATH="../../:${PATH}" node cli.js prune --prod && \ cd ../.. && \ rm -rf npm-cache npm-tmp npm-prefix