-
-
Notifications
You must be signed in to change notification settings - Fork 793
/
Copy pathlaunch.json
102 lines (102 loc) · 4.25 KB
/
launch.json
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
// © 2020 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
{
"version": "0.2.0",
"configurations": [
{
"name": "intltest Launch",
"type": "cppdbg",
"request": "launch",
"targetArchitecture": "x64",
"program": "${workspaceFolder}/test/intltest/intltest",
"environment": [
{
"name": "LD_LIBRARY_PATH", // Use "DYLD_LIBRARY_PATH" for mac osx.
"value": "${workspaceRoot}/lib:${workspaceRoot}/stubdata:${workspaceRoot}/tools/ctestfw"
},
{
"name": "ICU_DATA",
"value": "${workspaceRoot}/data/out"
}
],
"args": [ // Here you add which test cases you want to run, leaving it empty will run all the test cases.
// Examples:
// "rbbi/RBBITest",
// "format/NumberFormatTest"
],
"stopAtEntry": false, // If you want to add a break point in the beginning of the program (i.e. test cases).
"cwd": "${workspaceFolder}/test/intltest",
"externalConsole": false, //set to true to see output in an external terminal instead
"MIMode": "gdb", // Use "lldb" for mac osx.
"logging": {
"trace": true,
"traceResponse": true,
"engineLogging": true,
"programOutput": true
},
"preLaunchTask": "buildTest"
},
{
"name": "cintltst Launch",
"type": "cppdbg",
"request": "launch",
"targetArchitecture": "x64",
"program": "${workspaceFolder}/test/cintltst/cintltst",
"environment": [
{
"name": "LD_LIBRARY_PATH", // Use "DYLD_LIBRARY_PATH" for mac osx.
"value": "${workspaceRoot}/lib:${workspaceRoot}/stubdata:${workspaceRoot}/tools/ctestfw"
},
{
"name": "ICU_DATA",
"value": "${workspaceRoot}/data/out"
}
],
"args": [ // Here you add which test cases you want to run, leaving it empty will run all the test cases.
// "/tsutil/cstrcase" // Just for example.
],
"stopAtEntry": false, // If you want to add a break point in the beginning of the program (i.e. test cases).
"cwd": "${workspaceFolder}",
"externalConsole": false, //set to true to see output in an external terminal instead
"MIMode": "gdb", // Use "lldb" for mac osx.
"logging": {
"trace": true,
"traceResponse": true,
"engineLogging": true,
"programOutput": true
},
"preLaunchTask": "buildTest"
},
{
"name": "iotest Launch",
"type": "cppdbg",
"request": "launch",
"targetArchitecture": "x64",
"program": "${workspaceFolder}/test/iotest/iotest",
"environment": [
{
"name": "LD_LIBRARY_PATH", // Use "DYLD_LIBRARY_PATH" for mac osx.
"value": "${workspaceRoot}/lib:${workspaceRoot}/stubdata:${workspaceRoot}/tools/ctestfw"
},
{
"name": "ICU_DATA",
"value": "${workspaceRoot}/data/out"
}
],
"args": [ // Here you add which test cases you want to run, leaving it empty will run all the test cases.
// "/datadriv" // Just for example.
],
"stopAtEntry": false, // If you want to add a break point in the beginning of the program (i.e. test cases).
"cwd": "${workspaceFolder}",
"externalConsole": false, //set to true to see output in an external terminal instead
"MIMode": "gdb", // Use "lldb" for mac osx.
"logging": {
"trace": true,
"traceResponse": true,
"engineLogging": true,
"programOutput": true
},
"preLaunchTask": "buildTest"
}
]
}