Skip to content

Running Adapter when code runs in MSYS Shell #70

@Per-Chiptech

Description

@Per-Chiptech

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 :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions