diff options
| author | Po-Hsu Lin <po-hsu.lin@canonical.com> | 2015-03-13 12:08:59 +0800 |
|---|---|---|
| committer | Po-Hsu Lin <po-hsu.lin@canonical.com> | 2015-03-13 12:08:59 +0800 |
| commit | f64ad63e4b660a38c4db30362313862fdfe54e9a (patch) | |
| tree | 419fd024ecdfd3e540a454e8c628dea7a9716d8c /jobs | |
| parent | 76f23c0becbe477b7ff5342e1355dfd5a01fab49 (diff) | |
suspend.txt.in: adding cycle resolution test for hybrid graphic systems
Diffstat (limited to 'jobs')
| -rw-r--r-- | jobs/suspend.txt.in | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/jobs/suspend.txt.in b/jobs/suspend.txt.in index 55fe957..88f9e16 100644 --- a/jobs/suspend.txt.in +++ b/jobs/suspend.txt.in @@ -1303,6 +1303,28 @@ _description: VERIFICATION: Did your display look fine in the detected mode? +plugin: local +id: suspend/generator_cycle_resolutions_after_suspend +requires: device.category == 'VIDEO' +_description: Cycle resolution after suspend tests +_summary: Cycle resolution after suspend tests +command: + cat <<'EOF' | run_templates -t -s 'graphics_card_resource' + plugin: user-interact-verify + id: suspend/`echo ${index}`_cycle_resolutions_after_suspend_`echo "${product}" | sed 's/ /_/g;s/[^_a-zA-Z0-9-]//g'` + estimated_duration: 120.0 + requires: package.name == 'xorg' + depends: suspend/suspend_advanced + command: xrandr_cycle --keyword=`echo ${index}`_after_suspend_`echo "${product}" | sed 's/ /_/g;s/[^_a-zA-Z0-9-]//g'` --screenshot-dir $PLAINBOX_SESSION_SHARE + _description: + PURPOSE: + This test will cycle through the detected display modes + STEPS: + 1. Click "Test" and the display will cycle trough the display modes + VERIFICATION: + Did your display look fine in the detected mode? + EOF + plugin: shell id: suspend/cycle_resolutions_after_suspend_auto estimated_duration: 1.2 |
