================================== TEST&COVERAGE 21 NEW FEATURES LIST ================================== Copyright (C) 2026, AdaCore This file contains a complete list of new features in version 21 of the Test&Coverage technology. A full description of all features can be found in the accompanying documentation. An ISO date (YYYY-MM-DD) appears in parentheses after the description line. This date shows the implementation date of the feature. Any 21.0w wavefront subsequent to this date will contain the indicated feature, as will any subsequent 21 or later release. NF-TC14-013 Detect GNATcoverage and GNATcov_rts incompatibility (2020-12-16) The GNATcoverage instrumentation and coverage runtime were improved to detect incompatibilities between instrumented code and the runtime with which it was linked. This might occur when a program was instrumented using a different GNATcoverage distribution than the one from which the installed coverage runtime was taken. NF-T909-026 Improved detection of incompatible trace kinds (2021-05-20) Gnatcov now rejects mixing traces of different kinds (source traces vs. binary traces) and emits warnings when using options only applicable for another trace kind (for instance, using --scos with source traces, or using --sid with binary traces). NF-T611-027 New gnatcov option: --dump-units-to (2020-07-01) The "gnatcov coverage" command has a new command-line option available: --dump-units-to allows one to get the list of units of interest considered when generating the coverage report. NF-SB20-006 Trace32 branchflow conversion recovery (2019-11-26) Trace32 branchflow conversion can now handle cases that would previously stop the conversion with an error: - Trace entries outside of the ELF binary text section. - Trace entries in the middle of a basic block (usually interrupt/trap). NF-SA30-020 Set exit status in separate test drivers (2019-10-30) Gnattest now forces individual test drivers generated in --stub or --separate-drivers mode to set exit status when --exit-status=on is passed. NF-S913-031 Global setup and teardown (2019-10-11) Gnattest now provides a way to set up and tear down global test environment. NF-P425-025 Performance enhancement for "gnatcov coverage" (2019-12-09) "gnatcov coverage" has been optimized and now runs faster. These improvements benefit all binary trace files processing, and the biggest one comes from removing redundant work when processing multiple trace files that relate to the same executable.