Coder Social home page Coder Social logo

Comments (9)

numaru avatar numaru commented on June 17, 2024 1

@mb81 Despite the fact the error message is the same, I see the problem you are describing as a separated one because this is not the same shell used. I think it deserve its own issue.

Anyway, I tried with:

  • The temp_sensor example generated with ceedling example temp_sensor and the xml_report plugin added in project.yml.
  • The following .vscode/settings.json
{
    "ceedlingExplorer.shellPath": "bash"
}
  • The following versions:
vscode 1.44.2
wsl v1, Ubuntu 18.04.3 LTS
ceedling 0.29.1

and it works.

A workaround could be to use the wsl extension of vscode. see #39

from vscode-ceedling-test-adapter.

numaru avatar numaru commented on June 17, 2024

Can you run the ceedling command line in those shells ?

from vscode-ceedling-test-adapter.

kbsteere avatar kbsteere commented on June 17, 2024

from vscode-ceedling-test-adapter.

numaru avatar numaru commented on June 17, 2024

Is this message prompted when you clicked the error in the tree view?

image

If yes, I think the issue is that the extension require the xml_test_report plugin to parse the results. Also, a line needs to be added in the project.yml

:plugins:
  :load_paths:
    - vendor/ceedling/plugins
  :enabled:
+   - xml_tests_report
    - stdout_pretty_tests_report
    - module_generator
    - gcov

from vscode-ceedling-test-adapter.

numaru avatar numaru commented on June 17, 2024

Also, what is your ceedling version?

I tried with these ones on w10:

C:\Users\kin\Documents\Laboratory\github\win32\vscode-ceedling-test-adapter [master ≡]
> ceedling version
Welcome to Ceedling!
  Ceedling::   0.28.3
  CMock::      2.4.5
  Unity::      2.4.2
  CException:: 1.3.1
C:\Users\kin\Documents\Laboratory\github\win32\vscode-ceedling-test-adapter [master ≡]
> (get-command ceedling).path
C:\Ruby24-x64\bin\ceedling.bat

with no ceedlingExplorer.shellPath defined and I don't get this issue.

from vscode-ceedling-test-adapter.

kbsteere avatar kbsteere commented on June 17, 2024

from vscode-ceedling-test-adapter.

numaru avatar numaru commented on June 17, 2024

I updated my Ceedling version and I'm still be able to use the extension. 🐱

To find out if the issue come from the environment or the Ceedling project, can you create a new project using the command ceedling example temp_sensor? I'm using this project to test the extension. I assume we are testing with the lastest ceedling and vscode versions, using no extension settings.

The extension shows the error message if it fails to run the command ceedling summary in the ceedlingExplorer.projectPath.

e.g.

C:\Users\kin\Documents\Laboratory\github\win32\temp_sensor
> ceedling summary ; write-host $? ; write-host $env:comspec

--------------------
OVERALL TEST SUMMARY
--------------------
TESTED:  47
PASSED:  47
FAILED:   0
IGNORED:  0


--------------------------
GCOV: OVERALL TEST SUMMARY
--------------------------

No tests executed.


NOTE: Summaries may be out of date with project sources.

True
C:\WINDOWS\system32\cmd.exe

from vscode-ceedling-test-adapter.

mb81 avatar mb81 commented on June 17, 2024

I can do this:
ceedling

But i am not able to get the plugin running due to "Ceedling failed to run in the configured shell. Please check the ceedlingExplorer.shellPath option." Is there a way to get this running using wsl?
Ceedling:: 0.29.1
Unity:: 2.5.0
CMock:: 2.5.1
CException:: 1.3.2

from vscode-ceedling-test-adapter.

mb81 avatar mb81 commented on June 17, 2024

Thank you for letting me trying again the "bash" in shellPath, which i tried several times, and in different variants. It works ^^ .
Also it works with the remote Wsl connection.
Nice tool :)

from vscode-ceedling-test-adapter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.