Not a supported test executable (Catch2 on remote ssh)
See original GitHub issueChecklist
- The issue is about this extension and NOT about a fork.
- Check the known issues list.
- The latest version of the extension was used.
Describe the bug I have a simple Catch2 test suite that runs fine from command line and vscode tasks. However its test cases don’t get listed in Test Explorer. Here is a sample run of it with “-l”:
{workspace-root} $ build/Tests -l
All available test cases:
Load library and register callbacks
[init]
1 test case
Desktop
- Extension Version: latest
- VS Code Version: latest
- Catch2 / Google Test / DOCTest Version: Catch2 v2.12.1
- OS Type and Version: Ubuntu 18 LTS
- Using remote-ssh/docker/wsl?: Yes, remote-ssh
Log (optional but recommended)
[2020-05-15 12:48:20.146] [DEBUG] Not a test executable: /home/$USER/{workspace-root}/build/Tests reason: [Error: Not a supported test executable: /home/$USER/{workspace-root}/build/Tests
output:
at /home/$USER/.vscode-server/extensions/matepek.vscode-catch2-test-adapter-3.2.0/out/dist/main.js:23:34044
at async e.ExecutableConfig.load (/home/$USER/.vscode-server/extensions/matepek.vscode-catch2-test-adapter-3.2.0/out/dist/main.js:23:27220)
at async Promise.all (index 0)
at async o.load (/home/$USER/.vscode-server/extensions/matepek.vscode-catch2-test-adapter-3.2.0/out/dist/main.js:22:29374)]
[2020-05-15 12:48:20.146] [INFO] load finished 0
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
CppTestMate/community - Gitter
Hey, wondering if it possible to have this extension not automatically scan the test executable for changes? Right now it seems like the...
Read more >Catch2 test don't work when building application with CMake
I cloned the repo and input the commands but it said "The C++ Compiler MinGW/bin/g++.exe is not able to compile a simple test...
Read more >Package List — Spack 0.20.0.dev0 documentation
Supposed to be flexible and powerful, and attempts to be compatible with the functionality of the Python standard argparse library (though not necessarily ......
Read more >debugging testing - CLion - ComponentSource
Unit testing: CLion now supports Catch2 template tests. ... the remote SSH connection in cases where Python isn't installed on your computer ....
Read more >Unit test reports - GitLab Docs
Unit test reports currently only support test reports in the JUnit report format. ... GitLab does not parse very large nodes of JUnit...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Assuming that “this” means this issue(201): yes, this can cause symptoms like that.
Okay I found the issue: there was a dynamic linked library with a relative path. It could only run from the workspace root dir.