Commit e992af8
test: skip SEA tests when SEA generation fails
In the SEA tests, if any of these steps fail:
1. Copy the executable
2. Inject the SEA blob
3. Signing the SEA
We skip the test because the error likely comes from the system or
postject and is not something the Node.js core can fix. We only leave
an exception for a basic test that test injecting empty files as
SEA to ensure the workflow is working (but we still skip if copying
fails or signing fails on Windows).
PR-URL: #51887
Refs: #49630
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>1 parent 5034363 commit e992af8Copy full SHA for e992af8
File tree
Expand file treeCollapse file tree
10 files changed
+98
-62
lines changedOpen diff view settings
Filter options
- test
- common
- sequential
Expand file treeCollapse file tree
10 files changed
+98
-62
lines changedOpen diff view settings
Collapse file
+6-4Lines changed: 6 additions & 4 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1048 | 1048 | |
1049 | 1049 | |
1050 | 1050 | |
1051 | | - |
| 1051 | + |
1052 | 1052 | |
1053 | | - |
1054 | | - |
1055 | | - |
| 1053 | + |
| 1054 | + |
| 1055 | + |
| 1056 | + |
| 1057 | + |
1056 | 1058 | |
1057 | 1059 | |
1058 | 1060 | |
|
Collapse file
+59-30Lines changed: 59 additions & 30 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3 | 3 | |
4 | 4 | |
5 | 5 | |
| 6 | + |
6 | 7 | |
7 | | - |
| 8 | + |
8 | 9 | |
9 | 10 | |
10 | 11 | |
| ||
54 | 55 | |
55 | 56 | |
56 | 57 | |
57 | | - |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
58 | 70 | |
59 | | - |
60 | | - |
61 | | - |
62 | | - |
63 | | - |
64 | | - |
65 | | - |
66 | | - |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | + |
| 81 | + |
| 82 | + |
| 83 | + |
| 84 | + |
| 85 | + |
| 86 | + |
| 87 | + |
67 | 88 | |
68 | 89 | |
69 | | - |
70 | | - |
| 90 | + |
| 91 | + |
| 92 | + |
| 93 | + |
| 94 | + |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | + |
| 99 | + |
| 100 | + |
71 | 101 | |
72 | | - |
73 | 102 | |
74 | 103 | |
75 | | - |
76 | | - |
77 | | - |
78 | | - |
79 | | - |
80 | | - |
81 | | - |
82 | | - |
83 | | - |
84 | | - |
85 | | - |
86 | | - |
87 | | - |
88 | | - |
| 104 | + |
| 105 | + |
| 106 | + |
| 107 | + |
89 | 108 | |
90 | | - |
91 | | - |
| 109 | + |
| 110 | + |
| 111 | + |
| 112 | + |
| 113 | + |
| 114 | + |
| 115 | + |
| 116 | + |
| 117 | + |
| 118 | + |
92 | 119 | |
| 120 | + |
93 | 121 | |
| 122 | + |
94 | 123 | |
95 | 124 | |
96 | 125 | |
97 | 126 | |
98 | 127 | |
99 | | - |
| 128 | + |
100 | 129 | |
Collapse file
test/sequential/test-single-executable-application-assets-raw.js
Copy file name to clipboardExpand all lines: test/sequential/test-single-executable-application-assets-raw.js+2-3Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3 | 3 | |
4 | 4 | |
5 | 5 | |
6 | | - |
| 6 | + |
7 | 7 | |
8 | 8 | |
9 | 9 | |
| ||
56 | 56 | |
57 | 57 | |
58 | 58 | |
59 | | - |
60 | | - |
| 59 | + |
61 | 60 | |
62 | 61 | |
63 | 62 | |
|
Collapse file
test/sequential/test-single-executable-application-assets.js
Copy file name to clipboardExpand all lines: test/sequential/test-single-executable-application-assets.js+2-3Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3 | 3 | |
4 | 4 | |
5 | 5 | |
6 | | - |
| 6 | + |
7 | 7 | |
8 | 8 | |
9 | 9 | |
| ||
109 | 109 | |
110 | 110 | |
111 | 111 | |
112 | | - |
113 | | - |
| 112 | + |
114 | 113 | |
115 | 114 | |
116 | 115 | |
|
Collapse file
test/sequential/test-single-executable-application-disable-experimental-sea-warning.js
Copy file name to clipboardExpand all lines: test/sequential/test-single-executable-application-disable-experimental-sea-warning.js+2-3Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3 | 3 | |
4 | 4 | |
5 | 5 | |
6 | | - |
| 6 | + |
7 | 7 | |
8 | 8 | |
9 | 9 | |
| ||
51 | 51 | |
52 | 52 | |
53 | 53 | |
54 | | - |
55 | | - |
| 54 | + |
56 | 55 | |
57 | 56 | |
58 | 57 | |
|
Collapse file
test/sequential/test-single-executable-application-empty.js
Copy file name to clipboardExpand all lines: test/sequential/test-single-executable-application-empty.js+17-5Lines changed: 17 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | | - |
| 3 | + |
4 | 4 | |
5 | 5 | |
6 | | - |
| 6 | + |
7 | 7 | |
8 | 8 | |
9 | 9 | |
| ||
13 | 13 | |
14 | 14 | |
15 | 15 | |
16 | | - |
| 16 | + |
17 | 17 | |
18 | 18 | |
19 | 19 | |
| ||
38 | 38 | |
39 | 39 | |
40 | 40 | |
41 | | - |
42 | | - |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
43 | 55 | |
44 | 56 | |
45 | 57 | |
|
Collapse file
test/sequential/test-single-executable-application-snapshot-and-code-cache.js
Copy file name to clipboardExpand all lines: test/sequential/test-single-executable-application-snapshot-and-code-cache.js+3-4Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3 | 3 | |
4 | 4 | |
5 | 5 | |
6 | | - |
| 6 | + |
7 | 7 | |
8 | 8 | |
9 | 9 | |
| ||
12 | 12 | |
13 | 13 | |
14 | 14 | |
15 | | - |
| 15 | + |
16 | 16 | |
17 | 17 | |
18 | 18 | |
| ||
62 | 62 | |
63 | 63 | |
64 | 64 | |
65 | | - |
66 | | - |
| 65 | + |
67 | 66 | |
68 | 67 | |
69 | 68 | |
|
Collapse file
test/sequential/test-single-executable-application-snapshot.js
Copy file name to clipboardExpand all lines: test/sequential/test-single-executable-application-snapshot.js+3-4Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3 | 3 | |
4 | 4 | |
5 | 5 | |
6 | | - |
| 6 | + |
7 | 7 | |
8 | 8 | |
9 | 9 | |
| ||
12 | 12 | |
13 | 13 | |
14 | 14 | |
15 | | - |
| 15 | + |
16 | 16 | |
17 | 17 | |
18 | 18 | |
| ||
85 | 85 | |
86 | 86 | |
87 | 87 | |
88 | | - |
89 | | - |
| 88 | + |
90 | 89 | |
91 | 90 | |
92 | 91 | |
|
Collapse file
test/sequential/test-single-executable-application-use-code-cache.js
Copy file name to clipboardExpand all lines: test/sequential/test-single-executable-application-use-code-cache.js+2-3Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3 | 3 | |
4 | 4 | |
5 | 5 | |
6 | | - |
| 6 | + |
7 | 7 | |
8 | 8 | |
9 | 9 | |
| ||
56 | 56 | |
57 | 57 | |
58 | 58 | |
59 | | - |
60 | | - |
| 59 | + |
61 | 60 | |
62 | 61 | |
63 | 62 | |
|
Collapse file
test/sequential/test-single-executable-application.js
Copy file name to clipboardExpand all lines: test/sequential/test-single-executable-application.js+2-3Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3 | 3 | |
4 | 4 | |
5 | 5 | |
6 | | - |
| 6 | + |
7 | 7 | |
8 | 8 | |
9 | 9 | |
| ||
50 | 50 | |
51 | 51 | |
52 | 52 | |
53 | | - |
54 | | - |
| 53 | + |
55 | 54 | |
56 | 55 | |
57 | 56 | |
|
0 commit comments