summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichaƫl Zasso <targos@protonmail.com>2017-11-23 08:47:20 +0100
committerMyles Borins <mylesborins@google.com>2017-11-29 10:46:54 +0900
commit6c470330248c7df02ef90e7278f6a11b8b6a43f8 (patch)
tree9823e360ff5b027eeff1a3b4131528f67f652d2b
parentaf78840b194528a147e4683aed27a320f9764ea5 (diff)
downloadnode-new-6c470330248c7df02ef90e7278f6a11b8b6a43f8.tar.gz
build: fix test-v8 target
Clean the deps/v8 directory before rebuilding node for the hash seed test. It is necessary to avoid the script added in [1] to use ignored files while generating `node-debug-support.cc`. [1]: https://github.com/nodejs/node/pull/14901 PR-URL: https://github.com/nodejs/node/pull/17269 Fixes: https://github.com/nodejs/node-v8/issues/26 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d1f3f66183..50fabae087 100644
--- a/Makefile
+++ b/Makefile
@@ -501,6 +501,7 @@ test-v8: v8
--no-presubmit \
--shell-dir=$(PWD)/deps/v8/out/$(V8_ARCH).$(BUILDTYPE_LOWER) \
$(TAP_V8)
+ git clean -fdxq -- deps/v8
@echo Testing hash seed
$(MAKE) test-hash-seed