Commit 150910d
build,test: add tests for binary linked with shared libnode
This adds tests to ensure the V8 parts (v8, libplatform, cppgc)
in shared libnode works correctly.
PR-URL: #61463
Refs: #61144
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Richard Lau <richard.lau@ibm.com>1 parent fb7868b commit 150910dCopy full SHA for 150910d
5 files changed
+152-9Lines changed: 152 additions & 9 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- test
- common
- embedding
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+55Lines changed: 55 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1423 | 1423 | |
1424 | 1424 | |
1425 | 1425 | |
| 1426 | + |
| 1427 | + |
| 1428 | + |
| 1429 | + |
| 1430 | + |
| 1431 | + |
| 1432 | + |
| 1433 | + |
| 1434 | + |
| 1435 | + |
| 1436 | + |
| 1437 | + |
| 1438 | + |
| 1439 | + |
| 1440 | + |
| 1441 | + |
| 1442 | + |
| 1443 | + |
| 1444 | + |
| 1445 | + |
| 1446 | + |
| 1447 | + |
| 1448 | + |
| 1449 | + |
| 1450 | + |
| 1451 | + |
| 1452 | + |
| 1453 | + |
| 1454 | + |
| 1455 | + |
| 1456 | + |
| 1457 | + |
| 1458 | + |
| 1459 | + |
| 1460 | + |
| 1461 | + |
| 1462 | + |
| 1463 | + |
| 1464 | + |
| 1465 | + |
| 1466 | + |
| 1467 | + |
| 1468 | + |
| 1469 | + |
| 1470 | + |
| 1471 | + |
| 1472 | + |
| 1473 | + |
| 1474 | + |
| 1475 | + |
| 1476 | + |
| 1477 | + |
| 1478 | + |
| 1479 | + |
| 1480 | + |
1426 | 1481 | |
1427 | 1482 | |
1428 | 1483 | |
|
Collapse file
+11Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
62 | 62 | |
63 | 63 | |
64 | 64 | |
| 65 | + |
| 66 | + |
65 | 67 | |
66 | 68 | |
67 | 69 | |
| ||
935 | 937 | |
936 | 938 | |
937 | 939 | |
| 940 | + |
| 941 | + |
| 942 | + |
| 943 | + |
| 944 | + |
| 945 | + |
| 946 | + |
938 | 947 | |
939 | 948 | |
940 | 949 | |
| ||
979 | 988 | |
980 | 989 | |
981 | 990 | |
| 991 | + |
982 | 992 | |
983 | 993 | |
984 | 994 | |
| ||
987 | 997 | |
988 | 998 | |
989 | 999 | |
| 1000 | + |
990 | 1001 | |
991 | 1002 | |
992 | 1003 | |
|
Collapse file
test/embedding/shared_embedtest.cc
Copy file name to clipboard+60Lines changed: 60 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
Collapse file
test/embedding/test-embedding.js
Copy file name to clipboardExpand all lines: test/embedding/test-embedding.js+1-9Lines changed: 1 addition & 9 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
8 | 8 | |
9 | 9 | |
10 | 10 | |
11 | | - |
12 | 11 | |
13 | 12 | |
14 | 13 | |
15 | 14 | |
16 | 15 | |
17 | 16 | |
18 | 17 | |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
25 | | - |
26 | | - |
| 18 | + |
27 | 19 | |
28 | 20 | |
29 | 21 | |
|
Collapse file
test/embedding/test-shared-embedding-v8.js
Copy file name to clipboard+25Lines changed: 25 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
0 commit comments