-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build: fix test-v8 target #17269
build: fix test-v8 target #17269
Conversation
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]: nodejs#14901 Fixes: nodejs/node-v8#26
I already tested this on my v8-6.3 branch: https://ci.nodejs.org/job/node-test-commit-v8-linux/1071/ |
@@ -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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we assume the presence of git
, i.e. is this target valid for running from the source tarball?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This target depends on the v8
target, which executes make-v8.sh
, which already assumes the presence of git.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But maybe replace x
with X
?
If I'm understanding git's logic, it'll use node's .git
not deps/v8/.git
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
deps/v8/.git
is removed in make-v8.sh
during cleanup:
Line 16 in 088bba3
find v8 -name ".git" | xargs rm -rf || true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So definatly -X
(it will remove explicitly ignored files, while keeping newly added files)
Test failure is unrelated. See #17270 |
I want to propose reverting #14901 for now. |
I see no harm in this change even after 088bba3. |
landed in 6c47033 |
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]: #14901 PR-URL: #17269 Fixes: nodejs/node-v8#26 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
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]: #14901 PR-URL: #17269 Fixes: nodejs/node-v8#26 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
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]: #14901 PR-URL: #17269 Fixes: nodejs/node-v8#26 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
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]: #14901 PR-URL: #17269 Fixes: nodejs/node-v8#26 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
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]: #14901 PR-URL: #17269 Fixes: nodejs/node-v8#26 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
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]: #14901 PR-URL: #17269 Fixes: nodejs/node-v8#26 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
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
.Fixes: nodejs/node-v8#26
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes/cc @bnoordhuis @mmarchini