Skip to content
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

Running Adapter when code runs in MSYS Shell #70

Open
Per-Chiptech opened this issue Mar 26, 2025 · 0 comments
Open

Running Adapter when code runs in MSYS Shell #70

Per-Chiptech opened this issue Mar 26, 2025 · 0 comments

Comments

@Per-Chiptech
Copy link

I run a windows environment and to handle running CppUTest I run the UCRT64 shell from MSYS2 which contains the dependencies etc. I build using CMake. My code works / builds / tests fine when I use this shell.

I am having issues running the adapter. It identifies my test executable, but says 'ERROR LOADING TESTS' next to it and when I try run it says "The test run did not record any output".

I think it is because it is trying to run the executable in the adapter shell and thus can't run the commands it needs to to identify what test cases are contained (or what the tests are).

I've tried a few things, including making a test wrapper which passes the command through (and flags given by CppUTest Adapter) and runs them in the ucrt64 shell and running that as my test executable, but still get the same error.

Really cool adapter, just would love some help getting it to function when using this external shell as I think natively it does not.

Thanks for your help :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant