aboutsummaryrefslogtreecommitdiff
path: root/run_unittests.py
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2018-12-30 23:04:59 +0100
committerDaniel Mensinger <daniel@mensinger-ka.de>2019-01-06 12:19:33 +0100
commitbd8bad46c3fad6e53e259f73408a73eeca920dc7 (patch)
treeb9d676368f645caa0c532067473c0b6485d518a5 /run_unittests.py
parent248adbab9ad0775e513b920e9047b2e93664ae2e (diff)
downloadmeson-bd8bad46c3fad6e53e259f73408a73eeca920dc7.zip
meson-bd8bad46c3fad6e53e259f73408a73eeca920dc7.tar.gz
meson-bd8bad46c3fad6e53e259f73408a73eeca920dc7.tar.bz2
Code cleanup and renamed variables
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 4b4d86b..f7737ab 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -3182,7 +3182,7 @@ recommended as it is not supported on some platforms''')
('type', str),
('filename', str),
('build_by_default', bool),
- ('sources', list),
+ ('target_sources', list),
('installed', bool),
]
@@ -3260,7 +3260,7 @@ recommended as it is not supported on some platforms''')
self.assertEqual(i['build_by_default'], tgt[1])
self.assertEqual(i['installed'], tgt[2])
targets_to_find.pop(i['name'], None)
- for j in i['sources']:
+ for j in i['target_sources']:
assertKeyTypes(targets_sources_typelist, j)
self.assertDictEqual(targets_to_find, {})