Comments (3)
Run works:
[2019-09-05 06:31:34.382] [INFO] [at GoogleTestSuiteInfo._runInner (/home/sgao/.vscode/extensions/matepek.vscode-catch2-test-adapter-2.7.1/out/src/AbstractTestSuiteInfo.js:74:26)] proc starting: sim_slicer_test
[2019-09-05 06:31:34.443] [INFO] [at GoogleTestSuiteInfo._runInner (/home/sgao/.vscode/extensions/matepek.vscode-catch2-test-adapter-2.7.1/out/src/AbstractTestSuiteInfo.js:78:26)] proc started: sim_slicer_test /home/sgao/Documents/sim/build-Debug/sim-slicer/test/sim_slicer_test [ '--gtest_color=no',
'--gtest_filter=slicer.loading',
'--gtest_also_run_disabled_tests' ] { cwd: '/home/sgao/Documents/sim/sim-slicer',
env:
{ KDE_FULL_SESSION: 'true',
GS_LIB: '/home/sgao/.fonts',
PAM_KWALLET5_LOGIN: '/tmp/kwallet5_sgao.socket',
USER: 'sgao',
LC_TIME: 'zh_CN.UTF-8',
XDG_SEAT: 'seat0',
XDG_SESSION_TYPE: 'x11',
SSH_AGENT_PID: '2918',
SHLVL: '1',
HOME: '/home/sgao',
QT4_IM_MODULE: 'fcitx',
DESKTOP_SESSION: '/usr/share/xsessions/plasma',
XIM: 'fcitx',
QT_LINUX_ACCESSIBILITY_ALWAYS_ON: '1',
GTK_MODULES: 'gail:atk-bridge',
XDG_SEAT_PATH: '/org/freedesktop/DisplayManager/Seat0',
KDE_SESSION_VERSION: '5',
LC_MONETARY: 'zh_CN.UTF-8',
DBUS_SESSION_BUS_ADDRESS:
'unix:abstract=/tmp/dbus-77J7wCKzZp,guid=4f5920e469eed4f3cc7f0fb55d707c06',
SSH_ASKPASS: '/usr/bin/ksshaskpass',
QT_QPA_PLATFORMTHEME: 'appmenu-qt5',
MANDATORY_PATH:
'/usr/share/gconf//usr/share/xsessions/plasma.mandatory.path',
XIM_PROGRAM: 'fcitx',
LOGNAME: 'sgao',
GTK_IM_MODULE: 'fcitx',
XDG_SESSION_CLASS: 'user',
DEFAULTS_PATH: '/usr/share/gconf//usr/share/xsessions/plasma.default.path',
XDG_SESSION_ID: '2',
GTK2_MODULES: 'overlay-scrollbar',
PATH:
'/home/sgao/bin:/home/sgao/.local/bin:/home/sgao/node/bin:/home/sgao/Documents/Go//bin/:/home/sgao/Documents/Apps/julia/bin/:/home/sgao/bin:/home/sgao/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin',
LC_ADDRESS: 'zh_CN.UTF-8',
XDG_SESSION_PATH: '/org/freedesktop/DisplayManager/Session1',
XDG_RUNTIME_DIR: '/run/user/1001',
XCURSOR_THEME: 'breeze_cursors',
DISPLAY: ':0',
LC_TELEPHONE: 'zh_CN.UTF-8',
LANG: 'en_US.UTF-8',
XDG_CURRENT_DESKTOP: 'KDE',
XMODIFIERS: '@im=fcitx',
XDG_SESSION_DESKTOP: 'KDE',
XAUTHORITY: '/tmp/xauth-1001-_0',
SSH_AUTH_SOCK: '/tmp/ssh-TRjgmwDZlh6X/agent.2877',
SHELL: '/bin/bash',
PAM_KWALLET_LOGIN: '/tmp/kwallet_sgao.socket',
LC_NAME: 'zh_CN.UTF-8',
QT_ACCESSIBILITY: '1',
LC_MEASUREMENT: 'zh_CN.UTF-8',
LC_IDENTIFICATION: 'zh_CN.UTF-8',
XDG_VTNR: '7',
QT_IM_MODULE: 'fcitx',
PWD: '/home/sgao',
XDG_CONFIG_DIRS:
'/etc/xdg/xdg-/usr/share/xsessions/plasma:/etc/xdg:/usr/share/kubuntu-default-settings/kf5-settings',
XDG_DATA_DIRS:
'/usr/share//usr/share/xsessions/plasma:/usr/local/share:/usr/share:/var/lib/snapd/desktop',
LC_NUMERIC: 'zh_CN.UTF-8',
LC_PAPER: 'zh_CN.UTF-8',
KDE_SESSION_UID: '1001',
KDE_MULTIHEAD: 'false',
GTK_RC_FILES: '/etc/gtk/gtkrc:/home/sgao/.gtkrc:/home/sgao/.config/gtkrc',
GTK2_RC_FILES:
'/etc/gtk-2.0/gtkrc:/home/sgao/.gtkrc-2.0:/home/sgao/.config/gtkrc-2.0',
SESSION_MANAGER:
'local/hy-System-Product-Name:@/tmp/.ICE-unix/3114,unix/hy-System-Product-Name:/tmp/.ICE-unix/3114',
DESKTOP_STARTUP_ID: 'hy-System-Product-Name;1567652884;801628;3191_TIME39603',
VSCODE_IPC_HOOK: '/run/user/1001/vscode-2c483866-1.38.0-main.sock',
VSCODE_NLS_CONFIG:
'{"locale":"en-us","availableLanguages":{},"_languagePackSupport":true}',
VSCODE_LOGS: '/home/sgao/.config/Code/logs/20190905T110805',
CHROME_DESKTOP: 'code-url-handler.desktop',
GOPATH: '/home/sgao/Documents/Go/',
GOROOT: '/home/sgao/Documents/Apps/go',
LESSCLOSE: '/usr/bin/lesspipe %s %s',
LESSOPEN: '| /usr/bin/lesspipe %s',
LS_COLORS: '',
NODE_PATH: '/home/sgao/node/lib/node_modules:',
NO_AT_BRIDGE: '1',
NPM_PACKAGES: '/home/sgao/node',
VSCODE_NODE_CACHED_DATA_DIR:
'/home/sgao/.config/Code/CachedData/3db7e09f3b61f915d03bbfa58e258d6eee843f35',
VSCODE_PID: '4091',
_: '/usr/share/code/code',
AMD_ENTRYPOINT: 'vs/workbench/services/extensions/node/extensionHostProcess',
PIPE_LOGGING: 'true',
VERBOSE_LOGGING: 'true',
VSCODE_IPC_HOOK_EXTHOST: '/tmp/vscode-ipc-91450c99-fe34-4ecf-8528-41c13c61f001.sock',
VSCODE_HANDLES_UNCAUGHT_ERRORS: 'true',
VSCODE_LOG_STACK: 'false',
VSCODE_PREVENT_FOREIGN_INSPECT: 'true',
ELECTRON_RUN_AS_NODE: '1',
APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL: 'true' } };
[2019-09-05 06:31:34.559] [INFO] [at processChunk (/home/sgao/.vscode/extensions/matepek.vscode-catch2-test-adapter-2.7.1/out/src/GoogleTestSuiteInfo.js:208:46)] Test slicer.loading has started.
[2019-09-05 06:31:38.751] [INFO] [at processChunk (/home/sgao/.vscode/extensions/matepek.vscode-catch2-test-adapter-2.7.1/out/src/GoogleTestSuiteInfo.js:223:46)] Test slicer.loading has finished.
[2019-09-05 06:31:38.752] [INFO] [at ChildProcess._runInner.runInfo.process.once.args (/home/sgao/.vscode/extensions/matepek.vscode-catch2-test-adapter-2.7.1/out/src/AbstractTestSuiteInfo.js:88:34)] proc close: sim_slicer_test [ 0, null ]
[2019-09-05 06:31:38.752] [INFO] [at _runInner._handleProcess.catch.then (/home/sgao/.vscode/extensions/matepek.vscode-catch2-test-adapter-2.7.1/out/src/AbstractTestSuiteInfo.js:124:30)] proc finished: /home/sgao/Documents/sim/build-Debug/sim-slicer/test/sim_slicer_test
from vscode-catch2-test-adapter.
Please show me the content of your .vscode/launch.json
file.
Also please check this.
You might wanna set catch2TestExplorer.debugConfigTemplate: "extensionOnly"
from vscode-catch2-test-adapter.
Thanks. That option works.
My launch.json
like this:
{
"version": "0.2.0",
"configurations": [
{
"name": "hl_perf install env",
"type": "python",
"request": "launch",
"program": "/n1/env/python/anaconda3/bin/python",
"args": [
"setup.py",
"install"
],
"console": "integratedTerminal",
"cwd": "${workspaceFolder}/py",
},
{
"name": "perf server",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/py/hl_perf/performance_serv.py",
"console": "integratedTerminal",
"env": {
"PYTHONPATH": "./py/:./py/hl_perf/",
}
},
{
"name": "attr types",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/py/attr_types.py",
"console": "integratedTerminal",
"cwd": "${workspaceFolder}/py",
"env": {
"PYTHONPATH": "./py/:./py/hl_perf/",
}
},
{
"name": "sim",
"type": "cppdbg",
"request": "launch",
"program": "${command:cmake.launchTargetPath}",
"args": [
"-c",
"conf/backtest.toml"
],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
// "preLaunchTask": "g++-8 build active file",
"miDebuggerPath": "/usr/bin/gdb"
},
{
"name": "sim_slicer_test",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/build-Debug/sim-slicer/test/sim_slicer_test",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
// "preLaunchTask": "g++-8 build active file",
"miDebuggerPath": "/usr/bin/gdb"
}
]
}
from vscode-catch2-test-adapter.
Related Issues (20)
- Add access to gdb command to modify arguments HOT 4
- Require build success before allowing a test to run HOT 2
- Status bar name is just "Extension status", and not ex. "TestMate C++". This makes it hard to find it if you want to hide the status. HOT 1
- Documentation does not mention case-sensitivity for file search globs HOT 1
- executionWrapper not working as expected HOT 7
- Filter tests by tags HOT 1
- Simplify finding test executables (remove advancedExecutables) HOT 1
- Improve performance by allowing "Files: exclude" rules when collecting test binaries HOT 11
- Add custom file extension pre-filter HOT 2
- The ambiguous explanation of the test.parallelExecutionLimit and the test.parallelExecutionOfExecutableLimit HOT 5
- Bazel, Runfiles, and C++ TestMate - how to use properly? HOT 11
- runTask always reporting "Task not found" HOT 2
- Parallel execution requires per-instance unique identifiers HOT 5
- fail to loading testing binary HOT 7
- Don't re-indent `std::cout` output HOT 1
- [Catch2] Custom main file not being picked up HOT 3
- Implicit gtest_filter fails when running 300 tests HOT 1
- Different configTemplate depending on executed tests HOT 4
- Should files.watcherExclude be honored when finding tests? HOT 5
- Label merging is broken after adding current working directory in the advanced executables configuration HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-catch2-test-adapter.