diff options
Diffstat (limited to 'tests/testutils/site.py')
-rw-r--r-- | tests/testutils/site.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/testutils/site.py b/tests/testutils/site.py index f2fe76509..3058e6d6f 100644 --- a/tests/testutils/site.py +++ b/tests/testutils/site.py @@ -6,7 +6,6 @@ import sys import platform from buildstream import utils, ProgramNotFoundError -from buildstream.testing._utils.site import HAVE_BWRAP as _HAVE_BWRAP try: @@ -24,12 +23,3 @@ except (ImportError, ValueError): IS_LINUX = os.getenv('BST_FORCE_BACKEND', sys.platform).startswith('linux') IS_WSL = (IS_LINUX and 'Microsoft' in platform.uname().release) IS_WINDOWS = (os.name == 'nt') - -if not IS_LINUX: - HAVE_SANDBOX = True # fallback to a chroot sandbox on unix -elif IS_WSL: - HAVE_SANDBOX = False # Sandboxes are inoperable under WSL due to lack of FUSE -elif IS_LINUX and _HAVE_BWRAP: - HAVE_SANDBOX = True -else: - HAVE_SANDBOX = False |