summaryrefslogtreecommitdiff
path: root/src/buildstream/testing
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2020-06-03 11:59:55 +0200
committerJürg Billeter <j@bitron.ch>2020-06-03 13:49:39 +0200
commitcbf490426112dabe18f0dca3af00863235eb1e3f (patch)
tree8ba148a0ba1461d8a6cf254136ba5eba5e08d7ef /src/buildstream/testing
parent07275d01416b204bd578c1c3617fcbed8b6e30ed (diff)
downloadbuildstream-cbf490426112dabe18f0dca3af00863235eb1e3f.tar.gz
Drop Platform subclasses and BST_FORCE_BACKENDjuerg/sandbox-drop-bwrap
With the use of buildbox-run on all platforms, there is no longer any platform-specific code in the Platform subclasses.
Diffstat (limited to 'src/buildstream/testing')
-rw-r--r--src/buildstream/testing/_utils/site.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/testing/_utils/site.py b/src/buildstream/testing/_utils/site.py
index 577896fe5..d8ace859b 100644
--- a/src/buildstream/testing/_utils/site.py
+++ b/src/buildstream/testing/_utils/site.py
@@ -54,7 +54,7 @@ casd_path = utils.get_host_tool("buildbox-casd")
CASD_SEPARATE_USER = bool(os.stat(casd_path).st_mode & stat.S_ISUID)
del casd_path
-IS_LINUX = os.getenv("BST_FORCE_BACKEND", sys.platform).startswith("linux")
+IS_LINUX = sys.platform.startswith("linux")
IS_WINDOWS = os.name == "nt"
MACHINE_ARCH = Platform.get_host_arch()