• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// © 2020 and later: Unicode, Inc. and others.
2// License & terms of use: http://www.unicode.org/copyright.html
3{
4    "version": "0.2.0",
5    "configurations": [
6        {
7            "name": "intltest Launch",
8            "type": "cppdbg",
9            "request": "launch",
10            "targetArchitecture": "x64",
11            "program": "${workspaceFolder}/test/intltest/intltest",
12            "environment": [
13                {
14                    "name": "LD_LIBRARY_PATH", // Use "DYLD_LIBRARY_PATH" for mac osx.
15                    "value": "${workspaceRoot}/lib:${workspaceRoot}/stubdata:${workspaceRoot}/tools/ctestfw"
16                },
17                {
18                    "name": "ICU_DATA",
19                    "value": "${workspaceRoot}/data/out"
20                }
21            ],
22            "args": [ // Here you add which test cases you want to run, leaving it empty will run all the test cases.
23                // Examples:
24                // "rbbi/RBBITest",
25                // "format/NumberFormatTest"
26            ],
27            "stopAtEntry": false, // If you want to add a break point in the beginning of the program (i.e. test cases).
28            "cwd": "${workspaceFolder}/test/intltest",
29            "externalConsole": false, //set to true to see output in an external terminal instead
30            "MIMode": "gdb", // Use "lldb" for mac osx.
31            "logging": {
32                "trace": true,
33                "traceResponse": true,
34                "engineLogging": true,
35                "programOutput": true
36            },
37            "preLaunchTask": "buildTest"
38        },
39        {
40            "name": "cintltst Launch",
41            "type": "cppdbg",
42            "request": "launch",
43            "targetArchitecture": "x64",
44            "program": "${workspaceFolder}/test/cintltst/cintltst",
45            "environment": [
46                {
47                    "name": "LD_LIBRARY_PATH", // Use "DYLD_LIBRARY_PATH" for mac osx.
48                    "value": "${workspaceRoot}/lib:${workspaceRoot}/stubdata:${workspaceRoot}/tools/ctestfw"
49                },
50                {
51                    "name": "ICU_DATA",
52                    "value": "${workspaceRoot}/data/out"
53                }
54            ],
55            "args": [ // Here you add which test cases you want to run, leaving it empty will run all the test cases.
56                // "/tsutil/cstrcase" // Just for example.
57            ],
58            "stopAtEntry": false, // If you want to add a break point in the beginning of the program (i.e. test cases).
59            "cwd": "${workspaceFolder}",
60            "externalConsole": false, //set to true to see output in an external terminal instead
61            "MIMode": "gdb", // Use "lldb" for mac osx.
62            "logging": {
63                "trace": true,
64                "traceResponse": true,
65                "engineLogging": true,
66                "programOutput": true
67            },
68            "preLaunchTask": "buildTest"
69        },
70        {
71            "name": "iotest Launch",
72            "type": "cppdbg",
73            "request": "launch",
74            "targetArchitecture": "x64",
75            "program": "${workspaceFolder}/test/iotest/iotest",
76            "environment": [
77                {
78                    "name": "LD_LIBRARY_PATH", // Use "DYLD_LIBRARY_PATH" for mac osx.
79                    "value": "${workspaceRoot}/lib:${workspaceRoot}/stubdata:${workspaceRoot}/tools/ctestfw"
80                },
81                {
82                    "name": "ICU_DATA",
83                    "value": "${workspaceRoot}/data/out"
84                }
85            ],
86            "args": [ // Here you add which test cases you want to run, leaving it empty will run all the test cases.
87                // "/datadriv" // Just for example.
88            ],
89            "stopAtEntry": false, // If you want to add a break point in the beginning of the program (i.e. test cases).
90            "cwd": "${workspaceFolder}",
91            "externalConsole": false, //set to true to see output in an external terminal instead
92            "MIMode": "gdb", // Use "lldb" for mac osx.
93            "logging": {
94                "trace": true,
95                "traceResponse": true,
96                "engineLogging": true,
97                "programOutput": true
98            },
99            "preLaunchTask": "buildTest"
100        }
101    ]
102}
103