diff options
author | Jürg Billeter <j@bitron.ch> | 2020-06-03 11:59:55 +0200 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2020-06-03 13:49:39 +0200 |
commit | cbf490426112dabe18f0dca3af00863235eb1e3f (patch) | |
tree | 8ba148a0ba1461d8a6cf254136ba5eba5e08d7ef /src/buildstream/testing | |
parent | 07275d01416b204bd578c1c3617fcbed8b6e30ed (diff) | |
download | buildstream-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.py | 2 |
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() |