diff options
author | Bert Vermeulen <bert@biot.com> | 2014-06-24 18:17:22 +0200 |
---|---|---|
committer | Bert Vermeulen <bert@biot.com> | 2014-06-24 18:17:22 +0200 |
commit | 604eece9928adbf4fb6b85470ceadeca1b73fabb (patch) | |
tree | b6a5a417b6d5955a7b3c13caf581581b2a7f9d7f | |
parent | 66a6eee7b0783f816187e75324df09a729a4070e (diff) | |
download | libsigrokdecode-604eece9928adbf4fb6b85470ceadeca1b73fabb.tar.gz libsigrokdecode-604eece9928adbf4fb6b85470ceadeca1b73fabb.zip |
pdtest: Generate report regardless of verbose mode.
-rwxr-xr-x | tests/pdtest | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/pdtest b/tests/pdtest index 9309fb9..f70b743 100755 --- a/tests/pdtest +++ b/tests/pdtest @@ -409,14 +409,14 @@ def run_tests(tests, fix=False): for cvg in results[-1]['coverage']: if cvg['scope'] == pd: pd_cvg.append(cvg) - if VERBOSE and opt_coverage and len(pd_cvg) > 1: + if opt_coverage and len(pd_cvg) > 1: # report total coverage of this PD, across all the tests # that were done on it. total_lines, missed_lines = coverage_sum(pd_cvg) pd_coverage = 100 - (float(len(missed_lines)) / total_lines * 100) if VERBOSE: dots = '.' * (54 - len(pd) - 2) - INFO("%s total %s %d%%" % (pd, dots, pd_coverage)) + INFO("%s total %s %d%%" % (pd, dots, pd_coverage)) if report_dir: # generate a missing lines list across all the files in # the PD |