From 17985fc3455b304b2302d6827ef341453d859f0f Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Fri, 22 Jan 2021 15:35:23 +0100 Subject: units:graphics: Add a glmark2-es2 job for checkbox classic snaps checkbox20 includes glmark2-es2 built from sources instead of the ubuntu archives version --- units/graphics/jobs.pxu | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'units/graphics') 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 -- cgit v1.2.3