summaryrefslogtreecommitdiff
path: root/units/graphics
diff options
authorSylvain Pineau <sylvain.pineau@canonical.com>2021-01-22 15:35:23 +0100
committerSylvain Pineau <sylvain.pineau@canonical.com>2021-01-22 15:35:23 +0100
commit17985fc3455b304b2302d6827ef341453d859f0f (patch)
tree4a0bde3cf644c3095f3028ddccb91134b9a81735 /units/graphics
parentb8dd3c66114a8c5ef36e36c081f039f340228ff5 (diff)
units:graphics: Add a glmark2-es2 job for checkbox classic snaps
checkbox20 includes glmark2-es2 built from sources instead of the ubuntu archives version
Diffstat (limited to 'units/graphics')
-rw-r--r--units/graphics/jobs.pxu12
1 files changed, 12 insertions, 0 deletions
diff --git a/units/graphics/jobs.pxu b/units/graphics/jobs.pxu
index bf03878..acf18c3 100644
--- a/units/graphics/jobs.pxu
+++ b/units/graphics/jobs.pxu
@@ -545,3 +545,15 @@ _summary: Check NVIDIA NVLINK status
_description: Check NVLINK are supported and NVLINK are connected properly on system, please make sure below items before testing:
1. More than one NVIDIA Graphic card are installed.
2. Each graphic card are connected by NVLINK.
+
+unit: template
+template-resource: graphics_card
+plugin: shell
+category_id: com.canonical.plainbox::graphics
+id: graphics/{index}_glmark2-es2_{product_slug}
+requires:
+ executable.name == 'glmark2-es2'
+ 'classic' in environment.SNAP_NAME
+command: glmark2-es2 --data-path "$CHECKBOX_RUNTIME"/usr/share/glmark2/
+estimated_duration: 60.5
+_summary: Run OpenGL ES 2.0 X11 benchmark on the {product} video card