diff options
author | Sylvain Pineau <sylvain.pineau@canonical.com> | 2018-09-10 11:51:50 +0200 |
---|---|---|
committer | Sylvain Pineau <sylvain.pineau@canonical.com> | 2018-09-11 09:33:09 +0200 |
commit | 7a1fc42e47e2552f0c435594ae9a5898901e86ee (patch) | |
tree | 33d5398db0a050f93c63ae731b7fd2e253794d20 /units/graphics | |
parent | 8c9f1ada142395bf521c010868f7d11c4b68764b (diff) |
graphics: Request only one suspend test on mono GPU systems
All template jobs were previously depending on: suspend/{{ index }}_suspend_after_switch_to_card_{{ product_slug }}_xenial On mono GPU systems, test plans already runs suspend/suspend_advanced. Using the new resource property "gpu_count", the template jobs can decide whether or not suspend/suspend_advanced is enough.
Diffstat (limited to 'units/graphics')
-rw-r--r-- | units/graphics/test-plan.pxu | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/units/graphics/test-plan.pxu b/units/graphics/test-plan.pxu index 9c1f294..5b58844 100644 --- a/units/graphics/test-plan.pxu +++ b/units/graphics/test-plan.pxu @@ -90,7 +90,10 @@ _description: After suspend tests (integrated GPU) include: graphics/1_switch_card_.*_xenial certification-status=blocker suspend/1_resolution_before_suspend_.*_xenial certification-status=blocker - suspend/suspend_advanced certification-status=blocker + # The following after suspend jobs will automatically select the right suspend job + # depending on the amount of graphic cards available on the SUT: + # suspend/suspend_advanced (one GPU) + # or suspend/{{ index }}_suspend_after_switch_to_card_{{ product_slug }}_xenial (two GPUs) suspend/1_suspend-time-check_.*_xenial certification-status=non-blocker suspend/1_suspend-single-log-attach_.*_xenial power-management/lid certification-status=blocker @@ -104,7 +107,6 @@ include: suspend/1_video_after_suspend_.*_xenial certification-status=blocker suspend/1_cycle_resolutions_after_suspend_.*_xenial certification-status=non-blocker suspend/1_xrandr_screens_after_suspend.tar.gz_xenial - after-suspend-manual-monitor/1_dim_brightness_.* certification-status=blocker id: after-suspend-graphics-discrete-gpu-cert-full unit: test plan |