Commit 7960ccb
test_runner: throw if harness is not bootstrapped
This commit updates the test harness to re-throw uncaught errors
if bootstrapping has not completed. This updates the existing
logic which tried to detect a specific error code.
PR-URL: #46962
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>1 parent b832d77 commit 7960ccbCopy full SHA for 7960ccb
File tree
Expand file treeCollapse file tree
2 files changed
+7
-15
lines changedOpen diff view settings
Filter options
- lib/internal/test_runner
Expand file treeCollapse file tree
2 files changed
+7
-15
lines changedOpen diff view settings
Collapse file
lib/internal/test_runner/harness.js
Copy file name to clipboardExpand all lines: lib/internal/test_runner/harness.js+2-3Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
18 | 18 | |
19 | 19 | |
20 | 20 | |
21 | | - |
22 | 21 | |
23 | 22 | |
24 | 23 | |
| ||
32 | 31 | |
33 | 32 | |
34 | 33 | |
35 | | - |
| 34 | + |
36 | 35 | |
37 | 36 | |
38 | 37 | |
39 | | - |
| 38 | + |
40 | 39 | |
41 | 40 | |
42 | 41 | |
|
Collapse file
lib/internal/test_runner/utils.js
Copy file name to clipboardExpand all lines: lib/internal/test_runner/utils.js+5-12Lines changed: 5 additions & 12 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
7 | 7 | |
8 | 8 | |
9 | 9 | |
10 | | - |
11 | 10 | |
12 | 11 | |
13 | 12 | |
| ||
24 | 23 | |
25 | 24 | |
26 | 25 | |
27 | | - |
28 | 26 | |
29 | 27 | |
30 | 28 | |
| ||
151 | 149 | |
152 | 150 | |
153 | 151 | |
154 | | - |
155 | | - |
156 | | - |
157 | | - |
158 | | - |
159 | | - |
160 | | - |
161 | | - |
162 | | - |
| 152 | + |
| 153 | + |
| 154 | + |
| 155 | + |
| 156 | + |
163 | 157 | |
164 | 158 | |
165 | 159 | |
| ||
225 | 219 | |
226 | 220 | |
227 | 221 | |
228 | | - |
229 | 222 | |
230 | 223 | |
231 | 224 | |
0 commit comments