diff options
author | Anna Henningsen <anna@addaleax.net> | 2019-04-16 13:01:33 +0200 |
---|---|---|
committer | ZYSzys <zyszys98@gmail.com> | 2019-04-19 10:56:41 +0800 |
commit | 02885dad5a7d20318fd061fdfcc593b0fe13459e (patch) | |
tree | 89436e807cb3acfdf49913b3409ca1ed5411a6b5 /src/node_report.cc | |
parent | ed893111b9355615995689e7163870cb88366b28 (diff) | |
download | android-node-v8-02885dad5a7d20318fd061fdfcc593b0fe13459e.tar.gz android-node-v8-02885dad5a7d20318fd061fdfcc593b0fe13459e.tar.bz2 android-node-v8-02885dad5a7d20318fd061fdfcc593b0fe13459e.zip |
test: add ability to skip common flag checks
Currently, `common/index.js` checks that our test files are
spawned with the flags specified in `// Flags:`, and re-spawns
with them if they are not found.
This can be *very* annoying, for example when debugging using
debuggers that attach to the parent process, or when intentionally
testing with flags that are different from the specified ones.
This adds a `NODE_SKIP_FLAG_CHECK` environment variable check.
Setting it to a non-empty value will skip the flag checks altogether.
PR-URL: https://github.com/nodejs/node/pull/27254
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Diffstat (limited to 'src/node_report.cc')
0 files changed, 0 insertions, 0 deletions