mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
tools: avoid parsing test files twice
PR-URL: https://github.com/nodejs/node/pull/59526 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
This commit is contained in:
@@ -788,6 +788,11 @@ def Execute(args, context, timeout=None, env=None, disable_core_files=False,
|
||||
for key, value in env.items():
|
||||
env_copy[key] = value
|
||||
|
||||
# We append NODE_SKIP_FLAG_CHECK (ref: test/common/index.js)
|
||||
# to avoid parsing the test files twice when looking for
|
||||
# flags or environment variables defined via // Flags: and // Env:
|
||||
env_copy["NODE_SKIP_FLAG_CHECK"] = "true"
|
||||
|
||||
preexec_fn = None
|
||||
|
||||
def disableCoreFiles():
|
||||
|
||||
Reference in New Issue
Block a user