From 7a1fc42e47e2552f0c435594ae9a5898901e86ee Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 10 Sep 2018 11:51:50 +0200 Subject: 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. --- units/graphics/test-plan.pxu | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'units/graphics') 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 -- cgit v1.2.3