diff options
author | Betty Lin <betty.lin@canonical.com> | 2019-07-31 17:00:38 +0800 |
---|---|---|
committer | Betty Lin <betty.lin@canonical.com> | 2019-08-06 15:08:13 +0800 |
commit | bda1d8db9e2ffe9bf64facd4aa4a159ccf17ee43 (patch) | |
tree | 2abeec3f023f6995beb2002ec69648b898b9b559 | |
parent | 47519cf5d86e38f2403fea500ee42d88448ad226 (diff) |
modify graphics suffix
1. Correct the suffix "_auto" to "_graphics" for the jobs were testing manually. 2. Correct after-suspend graphics test plan LP: #1832493
-rw-r--r-- | units/graphics/test-plan.pxu | 57 | ||||
-rw-r--r-- | units/suspend/suspend-graphics.pxu | 10 |
2 files changed, 32 insertions, 35 deletions
diff --git a/units/graphics/test-plan.pxu b/units/graphics/test-plan.pxu index 9085cb8b..8553ec1e 100644 --- a/units/graphics/test-plan.pxu +++ b/units/graphics/test-plan.pxu @@ -96,16 +96,16 @@ include: # or suspend/{{ index }}_suspend_after_switch_to_card_{{ product_slug }}_auto (two GPUs) suspend/1_suspend-time-check_.*_auto certification-status=non-blocker suspend/1_suspend-single-log-attach_.*_auto - power-management/lid certification-status=blocker - power-management/lid_close certification-status=blocker - power-management/lid_open certification-status=blocker - suspend/1_compiz_check_after_suspend_.*_auto certification-status=blocker - suspend/1_driver_version_after_suspend_.*_auto certification-status=blocker - suspend/1_resolution_after_suspend_.*_auto certification-status=blocker - suspend/1_display_after_suspend_.*_auto certification-status=blocker - suspend/1_glxgears_after_suspend_.*_auto certification-status=blocker - suspend/1_video_after_suspend_.*_auto certification-status=blocker - suspend/1_cycle_resolutions_after_suspend_.*_auto certification-status=non-blocker + power-management/lid certification-status=blocker + power-management/lid_close certification-status=blocker + power-management/lid_open certification-status=blocker + suspend/1_compiz_check_after_suspend_.*_auto certification-status=blocker + suspend/1_driver_version_after_suspend_.*_auto certification-status=blocker + suspend/1_resolution_after_suspend_.*_auto certification-status=blocker + suspend/1_display_after_suspend_.*_graphics certification-status=blocker + suspend/1_glxgears_after_suspend_.*_graphics certification-status=blocker + suspend/1_video_after_suspend_.*_graphics certification-status=blocker + suspend/1_cycle_resolutions_after_suspend_.*_graphics certification-status=non-blocker suspend/1_xrandr_screens_after_suspend.tar.gz_auto id: after-suspend-graphics-discrete-gpu-cert-full @@ -113,19 +113,18 @@ unit: test plan _name: After suspend tests (discrete GPU) _description: After suspend tests (discrete GPU) include: - suspend/2_resolution_before_suspend_.*_auto certification-status=blocker - suspend/2_suspend_after_switch_to_card_.*_auto certification-status=blocker - suspend/2_suspend-time-check_.*_auto certification-status=non-blocker - suspend/2_suspend-single-log-attach_.*_auto - suspend/2_compiz_check_after_suspend_.*_auto certification-status=blocker - suspend/2_driver_version_after_suspend_.*_auto certification-status=blocker - suspend/2_resolution_after_suspend_.*_auto certification-status=blocker - suspend/2_display_after_suspend_.*_auto certification-status=blocker - suspend/2_glxgears_after_suspend_.*_auto certification-status=blocker - suspend/2_video_after_suspend_.*_auto certification-status=blocker - suspend/2_cycle_resolutions_after_suspend_.*_auto certification-status=non-blocker + suspend/2_resolution_before_suspend_.*_auto certification-status=blocker + suspend/2_suspend_after_switch_to_card_.*_auto certification-status=blocker + suspend/2_suspend-time-check_.*_auto certification-status=non-blocker + suspend/2_suspend-single-log-attach_.*_auto certification-status=non-blocker + suspend/2_compiz_check_after_suspend_.*_auto certification-status=blocker + suspend/2_driver_version_after_suspend_.*_auto certification-status=blocker + suspend/2_resolution_after_suspend_.*_auto certification-status=blocker + suspend/2_display_after_suspend_.*_graphics certification-status=blocker + suspend/2_glxgears_after_suspend_.*_graphics certification-status=blocker + suspend/2_video_after_suspend_.*_graphics certification-status=blocker + suspend/2_cycle_resolutions_after_suspend_.*_graphics certification-status=non-blocker suspend/2_xrandr_screens_after_suspend_.*.tar.gz_auto - after-suspend-manual-monitor/2_dim_brightness_.* certification-status=blocker id: graphics-integrated-gpu-cert-blockers unit: test plan @@ -175,10 +174,9 @@ include: suspend/1_compiz_check_after_suspend_.*_auto certification-status=blocker suspend/1_driver_version_after_suspend_.*_auto certification-status=blocker suspend/1_resolution_after_suspend_.*_auto certification-status=blocker - suspend/1_display_after_suspend_.*_auto certification-status=blocker - suspend/1_glxgears_after_suspend_.*_auto certification-status=blocker - suspend/1_video_after_suspend_.*_auto certification-status=blocker - after-suspend-manual-monitor/1_dim_brightness_.* certification-status=blocker + suspend/1_display_after_suspend_.*_graphics certification-status=blocker + suspend/1_glxgears_after_suspend_.*_graphics certification-status=blocker + suspend/1_video_after_suspend_.*_graphics certification-status=blocker id: after-suspend-graphics-discrete-gpu-cert-blockers unit: test plan @@ -190,7 +188,6 @@ include: suspend/2_compiz_check_after_suspend_.*_auto certification-status=blocker suspend/2_driver_version_after_suspend_.*_auto certification-status=blocker suspend/2_resolution_after_suspend_.*_auto certification-status=blocker - suspend/2_display_after_suspend_.*_auto certification-status=blocker - suspend/2_glxgears_after_suspend_.*_auto certification-status=blocker - suspend/2_video_after_suspend_.*_auto certification-status=blocker - after-suspend-manual-monitor/2_dim_brightness_.* certification-status=blocker + suspend/2_display_after_suspend_.*_graphics certification-status=blocker + suspend/2_glxgears_after_suspend_.*_graphics certification-status=blocker + suspend/2_video_after_suspend_.*_graphics certification-status=blocker diff --git a/units/suspend/suspend-graphics.pxu b/units/suspend/suspend-graphics.pxu index be820a7a..b6fb230d 100644 --- a/units/suspend/suspend-graphics.pxu +++ b/units/suspend/suspend-graphics.pxu @@ -72,7 +72,7 @@ template-filter: graphics_card.prime_gpu_offload == 'Off' template-engine: jinja2 plugin: manual category_id: com.canonical.plainbox::suspend -id: suspend/{{ index }}_display_after_suspend_{{ product_slug }}_auto +id: suspend/{{ index }}_display_after_suspend_{{ product_slug }}_graphics depends: {%- if gpu_count > "1" %} suspend/{{ index }}_suspend_after_switch_to_card_{{ product_slug }}_auto @@ -94,7 +94,7 @@ template-filter: graphics_card.prime_gpu_offload == 'Off' template-engine: jinja2 plugin: user-interact-verify category_id: com.canonical.plainbox::suspend -id: suspend/{{ index }}_cycle_resolutions_after_suspend_{{ product_slug }}_auto +id: suspend/{{ index }}_cycle_resolutions_after_suspend_{{ product_slug }}_graphics requires: package.name == 'xorg' depends: {%- if gpu_count > "1" %} @@ -120,7 +120,7 @@ template-filter: graphics_card.prime_gpu_offload == 'Off' plugin: attachment category_id: com.canonical.plainbox::suspend id: suspend/{index}_xrandr_screens_after_suspend.tar.gz_auto -depends: suspend/{index}_cycle_resolutions_after_suspend_{product_slug}_auto +depends: suspend/{index}_cycle_resolutions_after_suspend_{product_slug}_graphics command: [ -f $PLAINBOX_SESSION_SHARE/{index}_xrandr_screens_after_suspend.tgz ] && cat $PLAINBOX_SESSION_SHARE/{index}_xrandr_screens_after_suspend.tgz _description: This attaches screenshots from the suspend/cycle_resolutions_after_suspend test to the results submission. @@ -150,7 +150,7 @@ template-resource: graphics_card template-engine: jinja2 plugin: user-interact-verify category_id: com.canonical.plainbox::suspend -id: suspend/{{ index }}_glxgears_after_suspend_{{ product_slug }}_auto +id: suspend/{{ index }}_glxgears_after_suspend_{{ product_slug }}_graphics depends: {%- if gpu_count > "1" %} suspend/{{ index }}_suspend_after_switch_to_card_{{ product_slug }}_auto @@ -176,7 +176,7 @@ _description: unit: template template-resource: graphics_card template-engine: jinja2 -id: suspend/{{ index }}_video_after_suspend_{{ product_slug }}_auto +id: suspend/{{ index }}_video_after_suspend_{{ product_slug }}_graphics depends: {%- if gpu_count > "1" %} suspend/{{ index }}_suspend_after_switch_to_card_{{ product_slug }}_auto |