summaryrefslogtreecommitdiff
path: root/tests/testutils/site.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testutils/site.py')
-rw-r--r--tests/testutils/site.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/testutils/site.py b/tests/testutils/site.py
index 79538efbf..456f6ec15 100644
--- a/tests/testutils/site.py
+++ b/tests/testutils/site.py
@@ -37,6 +37,12 @@ try:
except ProgramNotFoundError:
HAVE_BWRAP = False
+try:
+ utils.get_host_tool('lzip')
+ HAVE_LZIP = True
+except ProgramNotFoundError:
+ HAVE_LZIP = False
+
IS_LINUX = os.getenv('BST_FORCE_BACKEND', sys.platform).startswith('linux')
HAVE_ROOT = HAVE_BWRAP or os.geteuid() == 0