diff options
author | PMR <pmr@pmr-lander> | 2020-05-29 07:11:48 +0000 |
---|---|---|
committer | PMR <pmr@pmr-lander> | 2020-05-29 07:11:48 +0000 |
commit | 1cdb45af1605eec186ced13c4941b51df37ab102 (patch) | |
tree | 0280a1b74a5fa7cac81ad5eb1d7f4d0725d62113 | |
parent | 7bded3d298d997d2b84fdbc8e6a1d0d906f62770 (diff) |
Import plainbox-provider-checkbox_0.54.0~rc2.orig.tar.gzupstream-0.54.0_rc2patched-0.54.0_rc2-1
-rwxr-xr-x | manage.py | 2 | ||||
-rw-r--r-- | units/graphics/test-plan.pxu | 20 | ||||
-rw-r--r-- | units/suspend/suspend-graphics.pxu | 27 |
3 files changed, 40 insertions, 9 deletions
@@ -5,7 +5,7 @@ from plainbox.provider_manager import N_ setup( name='plainbox-provider-checkbox', namespace='com.canonical.certification', - version="0.54.0rc1", + version="0.54.0rc2", description=N_("Checkbox provider"), gettext_domain='plainbox-provider-checkbox', strict=False, deprecated=False, diff --git a/units/graphics/test-plan.pxu b/units/graphics/test-plan.pxu index 1907209..16ca11c 100644 --- a/units/graphics/test-plan.pxu +++ b/units/graphics/test-plan.pxu @@ -37,7 +37,7 @@ include: graphics/xorg-process certification-status=blocker graphics/VESA_drivers_not_in_use certification-status=blocker graphics/1_driver_version_.* certification-status=blocker - graphics/1_gl_support_.* certification-status=blocker + graphics/1_gl_support_.* certification-status=blocker graphics/1_minimum_resolution_.* suspend/1_resolution_before_suspend_.*_auto certification-status=blocker bootstrap_include: @@ -79,7 +79,7 @@ include: graphics/2_auto_switch_card_.* certification-status=blocker graphics/2_valid_opengl_renderer_.* certification-status=blocker graphics/2_driver_version_.* certification-status=blocker - graphics/2_gl_support_.* certification-status=blocker + graphics/2_gl_support_.* certification-status=blocker graphics/2_minimum_resolution_.* suspend/2_resolution_before_suspend_.*_auto certification-status=blocker bootstrap_include: @@ -107,7 +107,7 @@ 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 certification-status=non-blocker - suspend/1_gl_support_after_suspend_.*_auto certification-status=blocker + suspend/1_gl_support_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 @@ -125,6 +125,7 @@ include: power-management/lid_open certification-status=blocker suspend/1_display_after_suspend_.*_graphics certification-status=blocker suspend/1_glxgears_after_suspend_.*_graphics certification-status=blocker + suspend/1_rotation_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 @@ -146,7 +147,7 @@ include: 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_gl_support_after_suspend_.*_auto certification-status=blocker + suspend/2_gl_support_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 @@ -157,6 +158,7 @@ _description: After suspend tests (discrete GPU manual) include: suspend/2_display_after_suspend_.*_graphics certification-status=blocker suspend/2_glxgears_after_suspend_.*_graphics certification-status=blocker + suspend/2_rotation_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 @@ -174,7 +176,7 @@ include: graphics/1_maximum_resolution_.* certification-status=blocker graphics/1_glxgears_.* certification-status=blocker graphics/1_driver_version_.* certification-status=blocker - graphics/1_gl_support_.* certification-status=blocker + graphics/1_gl_support_.* certification-status=blocker graphics/1_rotation_.* certification-status=blocker graphics/1_video_.* certification-status=blocker suspend/1_resolution_before_suspend_.*_auto certification-status=blocker @@ -191,7 +193,7 @@ include: graphics/2_valid_opengl_renderer_.* certification-status=blocker graphics/2_glxgears_.* certification-status=blocker graphics/2_driver_version_.* certification-status=blocker - graphics/2_gl_support_.* certification-status=blocker + graphics/2_gl_support_.* certification-status=blocker graphics/2_rotation_.* certification-status=blocker graphics/2_video_.* certification-status=blocker bootstrap_include: @@ -207,11 +209,12 @@ include: power-management/lid certification-status=blocker power-management/lid_close certification-status=blocker power-management/lid_open certification-status=blocker - suspend/1_gl_support_after_suspend_.*_auto certification-status=blocker + suspend/1_gl_support_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_rotation_after_suspend_.*_graphics certification-status=blocker suspend/1_video_after_suspend_.*_graphics certification-status=blocker id: after-suspend-graphics-discrete-gpu-cert-blockers @@ -221,9 +224,10 @@ _description: After suspend tests (discrete GPU, certification blockers only) include: suspend/2_resolution_before_suspend_.*_auto certification-status=blocker suspend/2_suspend_after_switch_to_card_.*_graphics certification-status=blocker - suspend/2_gl_support_after_suspend_.*_auto certification-status=blocker + suspend/2_gl_support_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_rotation_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 21effcc..b0a8608 100644 --- a/units/suspend/suspend-graphics.pxu +++ b/units/suspend/suspend-graphics.pxu @@ -262,3 +262,30 @@ command: fi _purpose: Suspend SUT 30 times while using {product_slug} graphics card + +unit: template +template-resource: graphics_card +template-filter: graphics_card.prime_gpu_offload == 'Off' +template-engine: jinja2 +plugin: user-interact-verify +category_id: com.canonical.plainbox::suspend +id: suspend/{{ index }}_rotation_after_suspend_{{ product_slug }}_graphics +depends: + {%- if gpu_count > "1" %} + suspend/{{ index }}_suspend_after_switch_to_card_{{ product_slug }}_auto + {%- else %} + suspend/suspend_advanced + {%- endif %} +command: + source graphics_env {{ driver }} {{ index }} + rotation_test +estimated_duration: 20.000 +_summary: Test rotation for {{ vendor }} {{ product }} after suspend +_description: + PURPOSE: + This test will test display rotation on the {{ vendor }} {{ product }} graphics card after suspend + STEPS: + 1. Click "Test" to test display rotation. The display will be rotated every 4 seconds. + 2. Check if all rotations (normal right inverted left) took place without permanent screen corruption + VERIFICATION: + Did the display rotation take place without permanent screen corruption after suspend? |