Merge ~alanec/plainbox-provider-checkbox:cpufreq_test-excp-fix into plainbox-provider-checkbox:master
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Adrian Lane | ||||
Approved revision: | 56579f1e583dd09d4cd8da9c6b8ec5e13dc61aa8 | ||||
Merged at revision: | 8fdcabedc6fd3ca073b385d80f8085ed3cc6c849 | ||||
Proposed branch: | ~alanec/plainbox-provider-checkbox:cpufreq_test-excp-fix | ||||
Merge into: | plainbox-provider-checkbox:master | ||||
Diff against target: |
54 lines (+9/-5) 1 file modified
bin/cpufreq_test.py (+9/-5) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jeff Lane | Approve | ||
Jonathan Cave (community) | Abstain | ||
Review via email:
|
Description of the change
Minor fixup of exception handling class in bin/cpufreq_
Additionally warnings (logging.warning) are now visible in all modes, included quiet, as quiet is the default operating mode in Checkbox.
Sample output to demo if scaling via cpufreq is unsupported:
z3r0@maas ~ ❯❯❯ python3 test.py
## Warning: scaling via CpuFreq non-supported ##
z3r0@maas ~ ❯❯❯ python3 test.py -q
## Warning: scaling via CpuFreq non-supported ##
z3r0@maas ~ ❯❯❯ python3 test.py -d
## Warning: scaling via CpuFreq non-supported ##
z3r0@maas ~ ❯❯❯ python3 test.py -r
## Warning: scaling via CpuFreq non-supported ##
Above demo performed on a VM.