sanitycheck: Fix --enable-coverage option
This commit fixes the issue, that --enable-coverage alone did not create coverage information. It also required to give --coverage-platform. Now the fallback for coverage-platform to platform works as documented also for enable-coverage, not only for coverage option. Signed-off-by: Christian Taedcke <hacking@taedcke.com>
This commit is contained in:
parent
19d67e4cd2
commit
c415a4ef2d
1 changed files with 3 additions and 2 deletions
|
@ -3690,8 +3690,9 @@ def main():
|
|||
if options.coverage:
|
||||
options.enable_coverage = True
|
||||
options.enable_slow = True
|
||||
if not options.coverage_platform:
|
||||
options.coverage_platform = options.platform
|
||||
|
||||
if not options.coverage_platform:
|
||||
options.coverage_platform = options.platform
|
||||
|
||||
if options.size:
|
||||
for fn in options.size:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue