You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
I use the following command to generate total unit report base on stmt+mcdc. But I still need --units/--scos.,why?
bjuci@bjuci-ThinkPad-X270-W10DG:~/github/gtest-demo/build$ gnatcov run --level=stmt+decision ./bin/unit_tests --routines=f
warning: Support for coverage of non-instrumented native programs is deprecated and will disappear after GNATcoverage 21 releases. You are encouraged to migrate to instrumentation-based coverage: you can read more about it in our documentation: http://docs.adacore.com/gnatcoverage-docs/html/gnatcov.html
Running main() from gtest_main.cc
[==========] Running 2 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 2 tests from example
[ RUN ] example.add
[ OK ] example.add (10 ms)
[ RUN ] example.subtract
[ OK ] example.subtract (1 ms)
[----------] 2 tests from example (19 ms total)
[----------] Global test environment tear-down
[==========] 2 tests from 1 test case ran. (56 ms total)
[ PASSED ] 2 tests.
bjuci@bjuci-ThinkPad-X270-W10DG:~/github/gtest-demo/build$ gnatcov coverage --level=stmt+mcdc --annotate=html unit_tests.trace --routines=f
gnatcov: Please specify SCOs on the command line, specifying Units in project or using --units/--scos.
Usage: gnatcov coverage [OPTIONS] TRACE_FILEs
Run 'gnatcov coverage --help' for more information.
The text was updated successfully, but these errors were encountered:
Hi
I use the following command to generate total unit report base on stmt+mcdc. But I still need --units/--scos.,why?
bjuci@bjuci-ThinkPad-X270-W10DG:~/github/gtest-demo/build$ gnatcov run --level=stmt+decision ./bin/unit_tests --routines=f
warning: Support for coverage of non-instrumented native programs is deprecated and will disappear after GNATcoverage 21 releases. You are encouraged to migrate to instrumentation-based coverage: you can read more about it in our documentation: http://docs.adacore.com/gnatcoverage-docs/html/gnatcov.html
Running main() from gtest_main.cc
[==========] Running 2 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 2 tests from example
[ RUN ] example.add
[ OK ] example.add (10 ms)
[ RUN ] example.subtract
[ OK ] example.subtract (1 ms)
[----------] 2 tests from example (19 ms total)
[----------] Global test environment tear-down
[==========] 2 tests from 1 test case ran. (56 ms total)
[ PASSED ] 2 tests.
bjuci@bjuci-ThinkPad-X270-W10DG:~/github/gtest-demo/build$ gnatcov coverage --level=stmt+mcdc --annotate=html unit_tests.trace --routines=f
gnatcov: Please specify SCOs on the command line, specifying Units in project or using --units/--scos.
Usage: gnatcov coverage [OPTIONS] TRACE_FILEs
Run 'gnatcov coverage --help' for more information.
The text was updated successfully, but these errors were encountered: