Thread overview | |||||
---|---|---|---|---|---|
|
December 11, 2017 [Issue 17300] Enable setting code coverage options on the command line | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17300 --- Comment #1 from github-bugzilla@puremagic.com --- Commit pushed to master at https://github.com/dlang/druntime https://github.com/dlang/druntime/commit/269d720186185c51df3560b066bee4cbe9fbeb7e Fix issue 17300 - Make coverage reports configurable via --DRT-covopt The coverage module has a couple of options that can be set through some weirdly looking dmd_coverSetMerge(), dmd_coverSourcePath() and dmd_coverDestPath() functions (I guess the dmd prefix comes from pre-druntime times). These options don't only use non standard names, they also don't use the standard --DRT-xxx / DRT_XXX runtime options passing mechanism, and they can only be overridden in code. This commit plugs the runtime options mechanism and adds support to set these options via --DRT-covopt (and matching environment variables), providing the sub-options merge, dstpath and srcpath. The old functions are kept for backwards compatibility (they are used by DMD itself for example), but should probably be removed in some distant future. -- |
December 11, 2017 [Issue 17300] Enable setting code coverage options on the command line | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17300 github-bugzilla@puremagic.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED -- |
December 18, 2017 [Issue 17300] Enable setting code coverage options on the command line | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17300 --- Comment #2 from github-bugzilla@puremagic.com --- Commit pushed to stable at https://github.com/dlang/druntime https://github.com/dlang/druntime/commit/269d720186185c51df3560b066bee4cbe9fbeb7e Fix issue 17300 - Make coverage reports configurable via --DRT-covopt -- |
Copyright © 1999-2021 by the D Language Foundation