summaryrefslogtreecommitdiff
path: root/tests/sources/fixture.py
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-10-07 20:51:45 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-11-03 22:25:41 +0900
commitaa4cab6875fabb9d7f73a77e15aee1da43a94430 (patch)
tree407956c7f09cf66ef8500d3dbcb49ea307b69061 /tests/sources/fixture.py
parent52509802cb2d446a7a93725b2a67438223c9bfff (diff)
downloadbuildstream-remove-arches.tar.gz
Updating all test cases for the removal of architecture conditionals and optionsremove-arches
Diffstat (limited to 'tests/sources/fixture.py')
-rw-r--r--tests/sources/fixture.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/sources/fixture.py b/tests/sources/fixture.py
index 89e03cb8e..c22667ad1 100644
--- a/tests/sources/fixture.py
+++ b/tests/sources/fixture.py
@@ -21,7 +21,7 @@ class Setup():
def __init__(self, datafiles, target, tmpdir):
directory = os.path.join(datafiles.dirname, datafiles.basename)
- self.context = Context([], 'x86_64')
+ self.context = Context([])
self.project = Project(directory, self.context)
# A message handler is required
@@ -35,7 +35,7 @@ class Setup():
if not os.path.exists(self.context.builddir):
os.mkdir(self.context.builddir)
- loader = Loader(directory, target, self.project._options, None, None)
+ loader = Loader(directory, target, self.project._options)
element = loader.load()
# Allow repo aliases to access files in the directories using tmpdir and datafiles