Merge ~ray.chen/plainbox-provider-checkbox:add-ambient-light-sensor-test into plainbox-provider-checkbox:master
Proposed by
Ray Chen
Status: | Merged |
---|---|
Approved by: | Pierre Equoy |
Approved revision: | e1359aca12d20666de5b5e4943e110e95288ad05 |
Merged at revision: | 8f7506e1e8903ed9faf6240c709ff855c1696a0a |
Proposed branch: | ~ray.chen/plainbox-provider-checkbox:add-ambient-light-sensor-test |
Merge into: | plainbox-provider-checkbox:master |
Diff against target: |
116 lines (+70/-0) 3 files modified
bin/light_sensor_test (+46/-0) units/monitor/test-plan.pxu (+4/-0) units/power-management/jobs.pxu (+20/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Pierre Equoy | Approve | ||
Maciej Kisielewski | Approve | ||
Ray Chen (community) | Needs Resubmitting | ||
Nara Huang (community) | Approve | ||
Sylvain Pineau | Pending | ||
Review via email: mp+379950@code.launchpad.net |
Commit message
power: add light sensor test
Description of the change
Add one simply script to check light sensor module and value also check
current backlight value from userspace.
Test platform: 201911-27469 (18.04 and 20.04) and ACE platform (201911-27534)
This script deal with:
1. Check if light sensor kernel module loaded
2. Parse light sensor/backlight value and record it in log file
3. If log data not enough ask to re-run
4. output pass or failed based on script result
To post a comment you must log in.
Looks good to me, +1