diff options
author | clairlin <clair.lin@canonical.com> | 2022-08-09 13:45:42 +0800 |
---|---|---|
committer | clairlin <clair.lin@canonical.com> | 2022-08-11 13:12:58 +0800 |
commit | e882af1a0cebde1f9471c0b993cd8f27794f7c23 (patch) | |
tree | 448f23e1459658e6aa377d609cdde12b43dfb5d3 | |
parent | 6486c39d11c212debb5e23541815b7cb8f7ab868 (diff) |
1. Fix LP: #1983657
The dmi.product list does not include convertible chassis type in some of testing jobs. It will skip the job automatically even if the system is supported with. This problem might have a risk to missing the issue if the function does not work. These items need to be modified and added the convertible type.
-rw-r--r-- | units/monitor/jobs.pxu | 2 | ||||
-rw-r--r-- | units/power-management/jobs.pxu | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/units/monitor/jobs.pxu b/units/monitor/jobs.pxu index ec57b59..55de2c6 100644 --- a/units/monitor/jobs.pxu +++ b/units/monitor/jobs.pxu @@ -151,7 +151,7 @@ unit: template template-resource: graphics_card template-filter: graphics_card.prime_gpu_offload == 'Off' id: monitor/{index}_dim_brightness_{product_slug} -requires: dmi.product in ['Notebook','Laptop','Portable','All In One','All-In-One','AIO'] +requires: dmi.product in ['Notebook','Laptop','Portable','All In One','All-In-One','AIO','Convertible'] plugin: user-interact-verify category_id: com.canonical.plainbox::monitor user: root diff --git a/units/power-management/jobs.pxu b/units/power-management/jobs.pxu index 8a1a385..20a1c3e 100644 --- a/units/power-management/jobs.pxu +++ b/units/power-management/jobs.pxu @@ -79,7 +79,7 @@ plugin: manual category_id: com.canonical.plainbox::power-management id: power-management/lid estimated_duration: 120.0 -requires: dmi.product in ['Notebook','Laptop','Portable'] +requires: dmi.product in ['Notebook','Laptop','Portable','Convertible'] _description: PURPOSE: This test will check your lid sensors. @@ -456,7 +456,7 @@ category_id: com.canonical.plainbox::power-management id: power-management/light_sensor estimated_duration: 10.0 requires: - dmi.product in ['Notebook','Laptop','Portable'] + dmi.product in ['Notebook','Laptop','Portable','Convertible'] executable.name == 'monitor-sensor' flags: also-after-suspend command: light_sensor_test.sh |