aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend/backends.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2017-09-09 21:35:43 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2017-09-12 20:32:07 +0300
commitb63710863b277c19ab38eef8f47ff9df5f173822 (patch)
tree0849c2d43e6123382209938767b0844487db722d /mesonbuild/backend/backends.py
parent9b50a4aac1dda2d4a5b4659d874faef29543eea2 (diff)
downloadmeson-b63710863b277c19ab38eef8f47ff9df5f173822.zip
meson-b63710863b277c19ab38eef8f47ff9df5f173822.tar.gz
meson-b63710863b277c19ab38eef8f47ff9df5f173822.tar.bz2
Renamed test serialisation from is_cross to is_cross_built for clarity.
Diffstat (limited to 'mesonbuild/backend/backends.py')
-rw-r--r--mesonbuild/backend/backends.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py
index bcc3638..3cdf705 100644
--- a/mesonbuild/backend/backends.py
+++ b/mesonbuild/backend/backends.py
@@ -65,12 +65,12 @@ class ExecutableSerialisation:
self.capture = capture
class TestSerialisation:
- def __init__(self, name, suite, fname, is_cross, exe_wrapper, is_parallel, cmd_args, env,
+ def __init__(self, name, suite, fname, is_cross_built, exe_wrapper, is_parallel, cmd_args, env,
should_fail, timeout, workdir, extra_paths):
self.name = name
self.suite = suite
self.fname = fname
- self.is_cross = is_cross
+ self.is_cross_built = is_cross_built
self.exe_runner = exe_wrapper
self.is_parallel = is_parallel
self.cmd_args = cmd_args
@@ -257,11 +257,11 @@ class Backend:
else:
exe_cmd = [exe]
exe_needs_wrapper = False
- is_cross = exe_needs_wrapper and \
+ is_cross_built = exe_needs_wrapper and \
self.environment.is_cross_build() and \
self.environment.cross_info.need_cross_compiler() and \
self.environment.cross_info.need_exe_wrapper()
- if is_cross:
+ if is_cross_built:
exe_wrapper = self.environment.cross_info.config['binaries'].get('exe_wrapper', None)
else:
exe_wrapper = None
@@ -270,7 +270,7 @@ class Backend:
else:
extra_paths = []
es = ExecutableSerialisation(basename, exe_cmd, cmd_args, env,
- is_cross, exe_wrapper, workdir,
+ is_cross_built, exe_wrapper, workdir,
extra_paths, capture)
pickle.dump(es, f)
return exe_data