summaryrefslogtreecommitdiff
diff options
authorDaniel Manrique <roadmr@ubuntu.com>2014-04-25 18:38:43 -0400
committerDaniel Manrique <roadmr@ubuntu.com>2014-04-25 18:38:43 -0400
commit5bb01d3711df6aea13430491c9aadaeb50eeca70 (patch)
treeef381ec1ead673ed424ae1b1373e17c843742142
parent556cde1e02e11a6307aa6bceeafa4dc964de880a (diff)
providers:checkbox: convert glxgears test
-rw-r--r--jobs/graphics.txt.in35
1 files changed, 22 insertions, 13 deletions
diff --git a/jobs/graphics.txt.in b/jobs/graphics.txt.in
index e35048a..8dbc0ea 100644
--- a/jobs/graphics.txt.in
+++ b/jobs/graphics.txt.in
@@ -303,19 +303,28 @@ command:
_summary: Test Unity 3D support for $product
EOF
-plugin: user-verify
-id: graphics/glxgears
-requires: package.name == 'mesa-utils'
-command: glxgears; true
-_description:
- PURPOSE:
- This test tests the basic 3D capabilities of your 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?
+id: graphics/generator_glxgears
+requires: device.category == 'VIDEO'
+_description: glxgears tests
+_summary: glxgears tests
+plugin: local
+command:
+ cat <<'EOF' | run_templates -t -s 'graphics_card_resource'
+ plugin: user-verify
+ id: graphics/`echo ${index}`_glxgears_`echo "${product}" | sed 's/ /_/g;s/[^_a-zA-Z0-9-]//g'`
+ requires: package.name == 'mesa-utils'
+ command: glxgears; true
+ _summary: Test that glxgears works for $product
+ _description:
+ PURPOSE:
+ This test tests the basic 3D capabilities of your $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?
+ EOF
plugin: shell
id: graphics/3d_window_open_close