ctest --show-only=json-v1 does not produce the json output
Hello Everyone,
Thank you for the great software !
While trying the cmake-test-explorer plugin of vscode under windows (https://github.com/fredericbonnet/cmake-test-explorer/issues/14), I think I discover a bug.
Using the same project (https://github.com/anagno/gama -- this is a pet project, so do not be too harsh in the quality of the cmake files :) ) everything is working perfectly under ubuntu and cmake 3.18.1 . But under windows (with the visual studio 16 2019
generator and cmake 3.18.1) the ctest --show-only=json-v1
seems not to produce the correct output:
{
"backtraceGraph" :
{
"commands" : [],
"files" : [],
"nodes" : []
},
"kind" : "ctestInfo",
"tests" : [],
"version" :
{
"major" : 1,
"minor" : 0
}
}
The normal execution of ctest --show-only
prints the tests:
Test project C:/{redacted}/gama/Test
Test #1: acord2-a2g
Test #2: acord2-a2diff
Test #3: gama_g3_adjustement_demo-g3-01_envelope
.
.
.
The tests can be executed without problem. So only the json output seems not to work.
Any ideas how I can limit the problem? Can I provide more info to help debug the issue?
Kind regards,
Vasileios