diff options
-rw-r--r-- | jobs/graphics.txt.in | 39 |
1 files changed, 24 insertions, 15 deletions
diff --git a/jobs/graphics.txt.in b/jobs/graphics.txt.in index 735b0ba..97b30b3 100644 --- a/jobs/graphics.txt.in +++ b/jobs/graphics.txt.in @@ -52,21 +52,30 @@ command: ! test -e /var/log/Xorg.failsafe.log estimated_duration: 0.030 _description: Test that the X is not running in failsafe mode. -plugin: user-verify -id: graphics/resolution -requires: - device.category == 'VIDEO' -command: resolution_test -estimated_duration: 0.750 -_description: - PURPOSE: - This test will verify the default display resolution - STEPS: - 1. This display is using the following resolution: - INFO: - $output - VERIFICATION: - Is this acceptable for your display? +id: graphics/generator_resolution +requires: device.category == 'VIDEO' +_description: Default resolution tests +_summary: Default resolution tests +plugin: local +command: + cat <<'EOF' | run_templates -t -s 'graphics_card_resource' + plugin: user-verify + id: graphics/`echo ${index}`_resolution_`echo "${product}" | sed 's/ /_/g;s/[^_a-zA-Z0-9-]//g'` + requires: + device.category == 'VIDEO' + command: resolution_test + estimated_duration: 0.750 + _summary: Test default resolution for $product + _description: + PURPOSE: + This test will verify the default display resolution on the $product graphics card. + STEPS: + 1. This display is using the following resolution: + INFO: + Resolution: $output + VERIFICATION: + Is this acceptable for your display on $product graphics card? + EOF plugin: user-verify id: graphics/screen-resolution |