From 72eff12ec45d55c493c4d881225540788df10670 Mon Sep 17 00:00:00 2001 From: Maciej Kisielewski Date: Fri, 3 Nov 2017 14:21:19 +0100 Subject: add fullscreen glxgears test Fixes: LP:#1718604 Signed-off-by: Maciej Kisielewski --- units/graphics/jobs.pxu | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/units/graphics/jobs.pxu b/units/graphics/jobs.pxu index a7af65a..ee0a938 100644 --- a/units/graphics/jobs.pxu +++ b/units/graphics/jobs.pxu @@ -314,6 +314,27 @@ _description: 1. Did the 3d animation appear? 2. Was the animation free from slowness/jerkiness? +unit: template +template-resource: graphics_card +plugin: user-interact-verify +category_id: com.canonical.plainbox::graphics +id: graphics/{index}_glxgears_fullscreen_{product_slug} +requires: package.name == 'mesa-utils' +command: + source graphics_env {driver} {index} + glxgears -fullscreen + true +_summary: Test that glxgears works on fullscreen for {vendor} {product} +_description: + PURPOSE: + This test tests the basic fullscreen 3D capabilities of your {vendor} {product} video card + STEPS: + 1. Click "Test" to execute an OpenGL demo. Press ESC at any time to close. + 2. Verify that the animation is not jerky or slow. + VERIFICATION: + 1. Did the 3d animation appear? + 2. Was the animation free from slowness/jerkiness? + unit: template template-resource: graphics_card plugin: shell -- cgit v1.2.3