This may be more of an application-based question, so please migrate it, if appropriate. However, I found these two questions, which were also asked here.
On to the question:
I'm using Visual Studio Code on Ubuntu 20.04, with the CMake Tools extension. With the latter, I can run "CMake: Build", which directs its output to vscode's own output console. I have a custom command executing my unit tests after a build. The testing framework is Catch2. The output then looks like this:
If I instead run it via the integrated terminal (bash), it looks like this:
I have two different unit test executables. One for serial code, one for the portion of my code that uses MPI. The odd characters like [1;31m
only appear when running the latter one (in parallel).
Does anyone know how to fix this?