Merge ~sylvain-pineau/plainbox-provider-checkbox:glmark2-es2-classic into plainbox-provider-checkbox:master

Proposed by Sylvain Pineau
Status: Merged
Approved by: Sylvain Pineau
Approved revision: 17985fc3455b304b2302d6827ef341453d859f0f
Merged at revision: 03337065876151bd09a7a88045851f91fa3aa7a2
Proposed branch: ~sylvain-pineau/plainbox-provider-checkbox:glmark2-es2-classic
Merge into: plainbox-provider-checkbox:master
Diff against target: 20 lines (+12/-0)
1 file modified
units/graphics/jobs.pxu (+12/-0)
Reviewer Review Type Date Requested Status
Sylvain Pineau (community) Approve
Vic Liu Pending
Review via email: mp+396746@code.launchpad.net

Description of the change

Add a new glmark2-es2 job meant to be run from classic snap where this tool is built from source in checkbox20.

Tested using sideloading on arm64:

checkbox-<project>-classic.checkbox-cli run com.canonical.certification::graphics_card com.canonical.certification::graphics/.*glmark2-es2.*

To post a comment you must log in.
Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

self-approved

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/units/graphics/jobs.pxu b/units/graphics/jobs.pxu
2index bf03878..acf18c3 100644
3--- a/units/graphics/jobs.pxu
4+++ b/units/graphics/jobs.pxu
5@@ -545,3 +545,15 @@ _summary: Check NVIDIA NVLINK status
6 _description: Check NVLINK are supported and NVLINK are connected properly on system, please make sure below items before testing:
7 1. More than one NVIDIA Graphic card are installed.
8 2. Each graphic card are connected by NVLINK.
9+
10+unit: template
11+template-resource: graphics_card
12+plugin: shell
13+category_id: com.canonical.plainbox::graphics
14+id: graphics/{index}_glmark2-es2_{product_slug}
15+requires:
16+ executable.name == 'glmark2-es2'
17+ 'classic' in environment.SNAP_NAME
18+command: glmark2-es2 --data-path "$CHECKBOX_RUNTIME"/usr/share/glmark2/
19+estimated_duration: 60.5
20+_summary: Run OpenGL ES 2.0 X11 benchmark on the {product} video card

Subscribers

People subscribed via source and target branches