summaryrefslogtreecommitdiff
path: root/bin
diff options
authorJonathan Cave <jonathan.cave@canonical.com>2022-04-20 15:41:55 +0100
committerJonathan Cave <jonathan.cave@canonical.com>2022-04-20 15:41:55 +0100
commitd9300e71a764594d98556a4a056bbca4516c8e9a (patch)
tree37c4b1a1e912822959f4ebcbaad04582f3377214 /bin
parent742632a5123537b8ba9b8c6d57e8b5707c9ecb74 (diff)
Change: set TEST_SNAP when using checkbox22
Default the test snap to test-snapd-tools-core22 to avoid need to download an extra base snap
Diffstat (limited to 'bin')
-rwxr-xr-xbin/snap_tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/snap_tests.py b/bin/snap_tests.py
index 1cc84bf..c6db891 100755
--- a/bin/snap_tests.py
+++ b/bin/snap_tests.py
@@ -22,6 +22,8 @@ except KeyError:
TEST_SNAP = 'test-snapd-tools-core18'
elif 'checkbox20' in runtime:
TEST_SNAP = 'test-snapd-tools-core20'
+ elif 'checkbox22' in runtime:
+ TEST_SNAP = 'test-snapd-tools-core22'
else:
TEST_SNAP = 'test-snapd-tools'
SNAPD_TASK_TIMEOUT = int(os.getenv('SNAPD_TASK_TIMEOUT', 30))