Open mattelser opened 11 months ago
This is currently blocked by an issue nvidia is looking into where omniverse does not exit cleanly when the tests extension is enabled. Killed processes don't generate the necessary GCDA files, so there is no way to generate coverage until this is fixed.
In talking with @lilleyse, once this is unblocked we'll likely want to set coverage up to be generated in two steps. Step one is to manually run then manually exit the tests extension in such a way that it generates GCDA files. Step two is to point gcov
at those GCDA files so it gathers what lines were executed during step one.
This may be as simple as adding
extern/nvidia/_build/target-deps/kit-sdk/kit ./apps/cesium.omniverse.cpp.tests.runner.kit
as a command run by the coverage cmake target (incmake/GenerateCoverage.cmake
) but I'm not actually sure how that target works at the moment and I wouldn't be surprised if it were more involved than that.