From 7243b8ca0542f7d2f82ec19e8edf8958dd602a58 Mon Sep 17 00:00:00 2001 From: Jonathan Cave Date: Tue, 1 Feb 2022 17:57:57 +0000 Subject: Change: gl_support job works from snaps Prepend the path to the script used for testing with CHECKBOX_RUNTIME so when checkbox is packaged in a snap it will be found in the checkbox core snap --- units/graphics/jobs.pxu | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/units/graphics/jobs.pxu b/units/graphics/jobs.pxu index 9727bc8..6a5b2ca 100644 --- a/units/graphics/jobs.pxu +++ b/units/graphics/jobs.pxu @@ -263,7 +263,8 @@ template-resource: graphics_card plugin: shell category_id: com.canonical.plainbox::graphics id: graphics/{index}_gl_support_{product_slug} -command: /usr/lib/nux/unity_support_test -p 2>&1 +command: + "$CHECKBOX_RUNTIME"/usr/lib/nux/unity_support_test -p 2>&1 estimated_duration: 0.131 _description: Check that {vendor} {product} hardware is able to run a desktop session (OpenGL) _summary: Test OpenGL support for {vendor} {product} -- cgit v1.2.3