diff options
author | Jonathan Cave <jonathan.cave@canonical.com> | 2022-02-01 17:57:57 +0000 |
---|---|---|
committer | Jonathan Cave <jonathan.cave@canonical.com> | 2022-02-01 17:57:57 +0000 |
commit | 7243b8ca0542f7d2f82ec19e8edf8958dd602a58 (patch) | |
tree | e7c25e52ccf417a384c8926cde51daafd00a9eda | |
parent | 3b07d96241c6726e22e9ac53a3353676beec514c (diff) |
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
-rw-r--r-- | units/graphics/jobs.pxu | 3 |
1 files changed, 2 insertions, 1 deletions
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} |