forked from erlang/otp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cover: Use native coverage if supported
Update the `cover` tool to use the native coverage feature of the runtime system. Currently at least, the runtime system only supports coverage through the JIT. TO DO: * When running on multiple nodes, only use the native coverage functionality if all connected Erlang nodes support it. * When asked to compile a module and that module is already loaded with line counters enabled, don't compile or load the module. That would support running cover on modules that are not possible to reload (such as many modules in Kernel or even the preloaded modules for Erts).
- Loading branch information
Showing
1 changed file
with
100 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters