Task #2141
closed
- Category changed from Integration Tests to Build
Category shall be Build. "Tests" category refers to integration tests.
We should choose between
- let
--with-coverage
imply --debug
, or
- raise an error if
--with-coverage
is enabled but --debug
is disabled
I prefer the first approach: let --with-coverage
imply --debug
- Status changed from New to In Progress
- % Done changed from 0 to 50
Unfortunately, I'm not seeing a clean way to implement note-2 approach. During configure stage, code coverage module is loaded after default compiler flags, making it impossible to update conf.options.debug
in coverage.
Loading coverage early has an implication of forcing all configuration tests to be run with code coverage flags, which is not really desirable.
The dirty way is to combine coverage and default-compiler-flags into one, but I don't want to go this direction. At least not right now.
Could code-coverage tool detect the value of conf.options.debug
?
It should raise an error when code-coverage is enabled but debug is disabled.
Yeah. Detection is possible. I'll make an update.
- Status changed from In Progress to Closed
- Assignee set to Alex Afanasyev
- % Done changed from 50 to 100
Also available in: Atom
PDF