-
-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Different configTemplate depending on executed tests #424
Comments
Hey, Wow you are so good achieving all of this. |
Thanks for the update. Here is an example of a
|
Fixed in v4.9.0.This issue was mentioned in CHANGELOG.md under a released entry so it is assumed to be fixed. |
Thank you very much for this new feature. It works without issues for me. |
First of all thanks for this fantastic extension.
Checklist
Is your feature request related to a problem? Please describe.
I wanted to run / debug cross-compiled google tests on a remote target with this extension. I have checked some existing issues and discussions related to remote execution and could set it up. I use a shell script as an
executionWrapper
. The script checks for--help
and--gtest_list_tests
arguments to detect test discovery. In that case it calls qemu directly to list the tests. Otherwise, the script rsyncs the test executable to the target hardware and executes the tests over ssh. This works without issues.For remote debugging I have added a
configTemplate
with somedeploySteps
. This also works nicely.I also build some of the tests for the build machine architecture (native, not cross-compiled). I can use different
advancedExecutables
items for the tests that can be executed locally and for the tests that should run remotely. The only remaining issue is that I can only have oneconfigTemplate
in mysettings.json
. If theconfigTemplate
has the settings for remote debugging it will not work for debugging tests that are executed locally (native). Perhaps there could be aconfigTemplate
inside anadvancedExecutables
item or some other way (perhaps just with a pattern) to associate aconfigTemplate
with anadvancedExecutables
item. This would use the correct launch config (local / remote debugging) depending on the executed tests.The text was updated successfully, but these errors were encountered: