betwo / vscode-catkin-tools

VS Code extension for catkin_tools support
https://marketplace.visualstudio.com/items?itemName=betwo.b2-catkin-tools
MIT License
24 stars 7 forks source link

Test Explorer doesn't update catkin test result icon #18

Closed rcabg closed 4 years ago

rcabg commented 4 years ago

Not sure if this goes here or in Test Explorer UI extension.

For me, catkin tests (using gtests) are correctly detected and executed, but I cannot see icon results updated, keeping always a gray circle with a square in the middle.

If any test fails, the parsed result is correctly shown in the PROBLEMS tab in vscode. If tests succeed, nothing appears. In both cases, the gray icon with black square remains.

Is this the expected behavior? Should appear a "green check" or "red cross" when tests are executed?

Thanks in advance!

betwo commented 4 years ago

This is definitely not the intended behavior, thank you for reporting.

The extension currently assumes that your default shell is bash (it uses built-in bash commands like source, pushd and popd) When using sh, for example, I see the same behavior.

Which is your default shell? If it is bash, please attach your log outputs..

betwo commented 4 years ago

Hey @rcabg, I think the bug is fixed with version 1.12.0. Could you please check with your setup? Thank you!

rcabg commented 4 years ago

Hello @betwo,

Sorry for the delay! I can confirm the bug is solved with version 1.12.0 in my setup.

Thanks for your quick response!