summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMatheus Marchini <mat@mmarchini.me>2019-05-16 17:20:26 -0700
committerMatheus Marchini <mat@mmarchini.me>2019-08-27 15:59:06 -0700
commit01504904f3b220b68666d9c2d37e13615e0a2fc1 (patch)
treea3be188e58fa6f9d252a3bbe833fcd8a04faf01c /test
parentc246f813f8b1bbc8f0e13ab77452da4dff437635 (diff)
downloadandroid-node-v8-01504904f3b220b68666d9c2d37e13615e0a2fc1.tar.gz
android-node-v8-01504904f3b220b68666d9c2d37e13615e0a2fc1.tar.bz2
android-node-v8-01504904f3b220b68666d9c2d37e13615e0a2fc1.zip
src: allow --interpreted-frames-native-stack in NODE_OPTIONS
PR-URL: https://github.com/nodejs/node/pull/27744 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'test')
-rw-r--r--test/parallel/test-cli-node-options.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/parallel/test-cli-node-options.js b/test/parallel/test-cli-node-options.js
index 07b69c5b13..7e42139470 100644
--- a/test/parallel/test-cli-node-options.js
+++ b/test/parallel/test-cli-node-options.js
@@ -65,6 +65,9 @@ expect('--stack-trace-limit=100',
/(\s*at f \(\[eval\]:1:\d*\)\r?\n){100}/,
'(function f() { f(); })();',
true);
+// Unsupported on arm. See https://crbug.com/v8/8713.
+if (!['arm', 'arm64'].includes(process.arch))
+ expect('--interpreted-frames-native-stack', 'B\n');
function expect(opt, want, command = 'console.log("B")', wantsError = false) {
const argv = ['-e', command];