diff options
author | Daniel Manrique <roadmr@ubuntu.com> | 2014-04-25 18:30:50 -0400 |
---|---|---|
committer | Daniel Manrique <roadmr@ubuntu.com> | 2014-04-25 18:30:50 -0400 |
commit | 2a19b2a09c9cfb22d7a3ca7fe3f3c0acccffc2d8 (patch) | |
tree | 002ecf432d7c79197c5563e45d5e604afd48c08b | |
parent | cd73d94b09054f632e1b1202d674a08a7f2414c3 (diff) |
providers:checkbox: converted minimum_resolution
-rw-r--r-- | jobs/graphics.txt.in | 29 |
1 files changed, 18 insertions, 11 deletions
diff --git a/jobs/graphics.txt.in b/jobs/graphics.txt.in index e752b40..56eca0e 100644 --- a/jobs/graphics.txt.in +++ b/jobs/graphics.txt.in @@ -101,17 +101,24 @@ command: Is this acceptable for your display on the $product graphics card? EOF -plugin: shell -id: graphics/minimum_resolution -requires: - device.category == 'VIDEO' -command: resolution_test --horizontal 800 --vertical 600 -estimated_duration: 0.331 -_description: - Ensure the current resolution meets or exceeds the recommended minimum - resolution (800x600). See here for details: - . - https://help.ubuntu.com/community/Installation/SystemRequirements +id: graphics/generator_minimum_resolution +requires: device.category == 'VIDEO' +_description: Minimum resolution tests +_summary: Minimum resolution tests +plugin: local +command: + cat <<'EOF' | run_templates -t -s 'graphics_card_resource' + plugin: shell + id: graphics/`echo ${index}`_minimum_resolution_`echo "${product}" | sed 's/ /_/g;s/[^_a-zA-Z0-9-]//g'` + requires: + device.category == 'VIDEO' + command: resolution_test --horizontal 800 --vertical 600 + estimated_duration: 0.331 + _summary: Test that $product meets minimum resolution requirement + _description: + Ensure the current resolution meets or exceeds the recommended minimum + resolution (800x600) on the $product graphics card. See here for details: + https://help.ubuntu.com/community/Installation/SystemRequirements id: graphics/maximum_resolution requires: device.category == 'VIDEO' |