summaryrefslogtreecommitdiff
path: root/units
diff options
Diffstat (limited to 'units')
-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