summaryrefslogtreecommitdiff
path: root/tests/testutils
diff options
context:
space:
mode:
authorBenjamin Schubert <ben.c.schubert@gmail.com>2019-06-05 14:28:42 +0100
committerbst-marge-bot <marge-bot@buildstream.build>2019-06-06 14:33:59 +0000
commit8c19f8d8270c9095e30a0ef9b34332fb0f4b5868 (patch)
tree034512af76fa83419de3d1c3eaa6498c489b01c0 /tests/testutils
parent3b56da44bdafeff1237391ad9edbb73010bcd5ee (diff)
downloadbuildstream-8c19f8d8270c9095e30a0ef9b34332fb0f4b5868.tar.gz
test:utils/site: Consolidate MACHINE_ARCH variable in a single place
We have two different 'site' files that are redundant and both define some variables in BuildStream environment. Moving the MACHINE_ARCH to a single place.
Diffstat (limited to 'tests/testutils')
-rw-r--r--tests/testutils/site.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/testutils/site.py b/tests/testutils/site.py
index b72be1e33..f2fe76509 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._platform import Platform
from buildstream.testing._utils.site import HAVE_BWRAP as _HAVE_BWRAP
@@ -34,5 +33,3 @@ elif IS_LINUX and _HAVE_BWRAP:
HAVE_SANDBOX = True
else:
HAVE_SANDBOX = False
-
-MACHINE_ARCH = Platform.get_host_arch()