summaryrefslogtreecommitdiff
diff options
authorMaciej Kisielewski <maciej.kisielewski@canonical.com>2017-11-03 14:21:19 +0100
committerMaciej Kisielewski <maciej.kisielewski@canonical.com>2017-11-03 14:28:53 +0100
commit72eff12ec45d55c493c4d881225540788df10670 (patch)
tree7e48edd5bd295ac4a4ac53c0429c169c3e43a87d
parentddb42b371a05ebf256ee8a7c445725d9ead74f53 (diff)
add fullscreen glxgears test
Fixes: LP:#1718604 Signed-off-by: Maciej Kisielewski <maciej.kisielewski@canonical.com>
-rw-r--r--units/graphics/jobs.pxu21
1 files changed, 21 insertions, 0 deletions
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
@@ -316,6 +316,27 @@ _description:
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
category_id: com.canonical.plainbox::graphics
id: graphics/{index}_3d_window_open_close_{product_slug}