aboutsummaryrefslogtreecommitdiff
path: root/run_unittests.py
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2019-04-23 14:58:18 +0200
committerDaniel Mensinger <daniel@mensinger-ka.de>2019-04-29 12:17:40 +0200
commite75211d321d7416b8a4871d3015a7915fb86b53b (patch)
treee6460b95e475fe7fabbb47ee318160ecb6228357 /run_unittests.py
parentbf98ffca9ee67a6a942b9abf96b536692370cf03 (diff)
downloadmeson-e75211d321d7416b8a4871d3015a7915fb86b53b.zip
meson-e75211d321d7416b8a4871d3015a7915fb86b53b.tar.gz
meson-e75211d321d7416b8a4871d3015a7915fb86b53b.tar.bz2
Fix builtin variable names
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-xrun_unittests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/run_unittests.py b/run_unittests.py
index ab7ad04..0cc1531 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -2681,9 +2681,9 @@ int main(int argc, char **argv) {
if ninja is None:
raise unittest.SkipTest('This test currently requires ninja. Fix this once "meson build" works.')
for lang in ('c', 'cpp'):
- for type in ('executable', 'library'):
+ for target_type in ('executable', 'library'):
with tempfile.TemporaryDirectory() as tmpdir:
- self._run(self.meson_command + ['init', '--language', lang, '--type', type],
+ self._run(self.meson_command + ['init', '--language', lang, '--type', target_type],
workdir=tmpdir)
self._run(self.setup_command + ['--backend=ninja', 'builddir'],
workdir=tmpdir)