FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

build: sync generation of `v8_build_config.json` by richardlau · Pull Request #38263 · nodejs/node · GitHub

/ node Public

build: sync generation of v8_build_config.json - #38263

Merged
richardlau merged 1 commit into
nodejs:masterfrom
richardlau:d8
Apr 18, 2021
Merged

build: sync generation of v8_build_config.json#38263
richardlau merged 1 commit into
nodejs:masterfrom
richardlau:d8

Conversation

richardlau commented Apr 16, 2021
edited
Loading

Copy link
Copy Markdown
Member

The contents of the v8_build_config.json file generated when
configured with --enable-d8 is missing entries which prevent V8's
test runner from using the built d8 binary. Sync the keys written
into the file with those generated in V8's deps/v8/BUILD.gn file.

Prior to this patch V8's test runner would fail to parse v8_build_config.json
as it was missing v8_control_flow_integrity:

$ python2 deps/v8/tools/run-tests.py --outdir ../../out/Release --progress=dots --timeout=120 mjsunit debugger message preparser
Traceback (most recent call last):
  File "/home/rlau/sandbox/github/node/deps/v8/tools/testrunner/base_runner.py", line 283, in execute
    self._load_build_config(options)
  File "/home/rlau/sandbox/github/node/deps/v8/tools/testrunner/base_runner.py", line 428, in _load_build_config
    self.build_config = _do_load_build_config(outdir, options.verbose)
  File "/home/rlau/sandbox/github/node/deps/v8/tools/testrunner/base_runner.py", line 253, in _do_load_build_config
    return BuildConfig(build_config_json)
  File "/home/rlau/sandbox/github/node/deps/v8/tools/testrunner/base_runner.py", line 173, in __init__
    self.control_flow_integrity = build_config['v8_control_flow_integrity']
KeyError: 'v8_control_flow_integrity'

nodejs-github-bot added the needs-ci PRs that need a full CI run. label Apr 16, 2021

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

richardlau added the author ready PRs that have at least one approval, no outstanding review comments, and a CI started. label Apr 17, 2021
The contents of the `v8_build_config.json` file generated when
configured with `--enable-d8` is missing entries which prevent V8's
test runner from using the built `d8` binary. Sync the keys written
into the file with those generated in V8's `deps/v8/BUILD.gn` file.

PR-URL: nodejs#38263
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
richardlau merged commit 049b703 into nodejs:master Apr 18, 2021

Copy link
Copy Markdown
Member Author

Landed in 049b703.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no outstanding review comments, and a CI started. needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL