Skip to content

Commit

Permalink
chore: update fix_adapt_debugger_tests_for_upstream_v8_changes.patch
Browse files Browse the repository at this point in the history
Xref: nodejs/node#47274

manually sync patch to minor upstream code shear

some tests moved from sequential to parallel
  • Loading branch information
ckerr committed Aug 7, 2023
1 parent e6de225 commit e2ada1c
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions patches/node/fix_adapt_debugger_tests_for_upstream_v8_changes.patch
Expand Up @@ -8,7 +8,7 @@ Updates debugger tests to conform to changes in https://chromium-review.googleso
This can be removed when Node.js updates to at least V8 11.4.

diff --git a/test/common/debugger.js b/test/common/debugger.js
index 4aff5b9a0f74d99f8f605b68631f820e282091ab..d5d77fc7c648ddb45225f04c6cf23f9816b2186d 100644
index 4aff5b9a0f..d5d77fc7c6 100644
--- a/test/common/debugger.js
+++ b/test/common/debugger.js
@@ -4,7 +4,7 @@ const spawn = require('child_process').spawn;
Expand Down Expand Up @@ -36,11 +36,11 @@ index 4aff5b9a0f74d99f8f605b68631f820e282091ab..d5d77fc7c648ddb45225f04c6cf23f98
},

ctrlC() {
diff --git a/test/sequential/test-debugger-break.js b/test/sequential/test-debugger-break.js
index 1d92331d4e10136ddc9d811c3eb07e6b24d0fc51..8f37b71571225eb6b264cd44fa031f82c701cdbc 100644
--- a/test/sequential/test-debugger-break.js
+++ b/test/sequential/test-debugger-break.js
@@ -27,7 +27,7 @@ const cli = startCLI([script]);
diff --git a/test/parallel/test-debugger-break.js b/test/parallel/test-debugger-break.js
index 65b4355cfe..8e3a290321 100644
--- a/test/parallel/test-debugger-break.js
+++ b/test/parallel/test-debugger-break.js
@@ -27,7 +27,7 @@ const cli = startCLI(['--port=0', script]);

await cli.stepCommand('n');
assert.ok(
Expand All @@ -49,7 +49,7 @@ index 1d92331d4e10136ddc9d811c3eb07e6b24d0fc51..8f37b71571225eb6b264cd44fa031f82
'pauses in next line of the script');
assert.match(
cli.output,
@@ -36,7 +36,7 @@ const cli = startCLI([script]);
@@ -36,7 +36,7 @@ const cli = startCLI(['--port=0', script]);

await cli.stepCommand('next');
assert.ok(
Expand All @@ -58,7 +58,7 @@ index 1d92331d4e10136ddc9d811c3eb07e6b24d0fc51..8f37b71571225eb6b264cd44fa031f82
'pauses in next line of the script');
assert.match(
cli.output,
@@ -89,7 +89,7 @@ const cli = startCLI([script]);
@@ -89,7 +89,7 @@ const cli = startCLI(['--port=0', script]);
await cli.stepCommand('');
assert.match(
cli.output,
Expand All @@ -67,10 +67,10 @@ index 1d92331d4e10136ddc9d811c3eb07e6b24d0fc51..8f37b71571225eb6b264cd44fa031f82
'entered timers.js');

await cli.stepCommand('cont');
diff --git a/test/sequential/test-debugger-run-after-quit-restart.js b/test/sequential/test-debugger-run-after-quit-restart.js
index a9da07dcdff8bd0b8cc69ccff8f29a67ff553592..2da4cea6359c8564a93863e43fc4a3f14a27e693 100644
--- a/test/sequential/test-debugger-run-after-quit-restart.js
+++ b/test/sequential/test-debugger-run-after-quit-restart.js
diff --git a/test/parallel/test-debugger-run-after-quit-restart.js b/test/parallel/test-debugger-run-after-quit-restart.js
index 2c56f7227a..0e10486992 100644
--- a/test/parallel/test-debugger-run-after-quit-restart.js
+++ b/test/parallel/test-debugger-run-after-quit-restart.js
@@ -25,7 +25,7 @@ const path = require('path');
.then(() => cli.stepCommand('n'))
.then(() => {
Expand Down

0 comments on commit e2ada1c

Please sign in to comment.