summaryrefslogtreecommitdiff
diff options
authorDaniel Manrique <roadmr@ubuntu.com>2014-04-25 18:38:44 -0400
committerDaniel Manrique <roadmr@ubuntu.com>2014-04-25 18:38:44 -0400
commit135c5de242a7fd75ab61df8e3584ff5712c7344a (patch)
tree58dd1e8dd104a0c031d9da9f17cfd2a4907f0486
parentebcde0c12058af6e109260625f28e8539056ac20 (diff)
providers:checkbox: converted driver_version
-rw-r--r--jobs/graphics.txt.in19
1 files changed, 14 insertions, 5 deletions
diff --git a/jobs/graphics.txt.in b/jobs/graphics.txt.in
index 04260c8..3208a20 100644
--- a/jobs/graphics.txt.in
+++ b/jobs/graphics.txt.in
@@ -1,8 +1,17 @@
-plugin: shell
-id: graphics/driver_version
-command: graphics_driver
-estimated_duration: 0.500
-_description: Parses Xorg.0.Log and discovers the running X driver and version
+id: graphics/generator_driver_version
+requires: device.category == 'VIDEO'
+_description: Driver version tests
+_summary: Driver version tests
+plugin: local
+command:
+ cat <<'EOF' | run_templates -t -s 'graphics_card_resource'
+ plugin: shell
+ id: graphics/`echo ${index}`_driver_version_`echo "${product}" | sed 's/ /_/g;s/[^_a-zA-Z0-9-]//g'`
+ command: graphics_driver
+ estimated_duration: 0.500
+ _description: Parses Xorg.0.Log and discovers the running X driver and version for the $product graphics card
+ _summary: Test X driver/version for $product
+ EOF
plugin: shell
id: graphics/xorg-version