aboutsummaryrefslogtreecommitdiff
path: root/run_unittests.py
diff options
context:
space:
mode:
authorDaniel Schulte <trilader@schroedingers-bit.net>2018-11-21 21:23:12 +0100
committerDaniel Schulte <trilader@schroedingers-bit.net>2018-11-26 23:12:00 +0100
commitf954eee90669f4c9ac0f458975a37ace28ba3a47 (patch)
tree226ff8d8a32c2c93ad4aa6cc5b2b723c783b366f /run_unittests.py
parent0e621937306575b9c1a2f5b07e6dd8d9e6c27ee7 (diff)
downloadmeson-f954eee90669f4c9ac0f458975a37ace28ba3a47.zip
meson-f954eee90669f4c9ac0f458975a37ace28ba3a47.tar.gz
meson-f954eee90669f4c9ac0f458975a37ace28ba3a47.tar.bz2
Remove name property from introspect --projectinfo as it is not used
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-xrun_unittests.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/run_unittests.py b/run_unittests.py
index 9ab88bc..4fcfe81 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -2924,7 +2924,6 @@ recommended as it is not supported on some platforms''')
testfile = os.path.join(self.common_test_dir, '36 run program', 'meson.build')
res = self.introspect_directory(testfile, '--projectinfo')
self.assertEqual(set(res['buildsystem_files']), set(['meson.build']))
- self.assertEqual(res['name'], 'run command')
self.assertEqual(res['version'], None)
self.assertEqual(res['descriptive_name'], 'run command')
self.assertEqual(res['subprojects'], [])
@@ -2932,7 +2931,6 @@ recommended as it is not supported on some platforms''')
testfile = os.path.join(self.common_test_dir, '44 options', 'meson.build')
res = self.introspect_directory(testfile, '--projectinfo')
self.assertEqual(set(res['buildsystem_files']), set(['meson_options.txt', 'meson.build']))
- self.assertEqual(res['name'], 'options')
self.assertEqual(res['version'], None)
self.assertEqual(res['descriptive_name'], 'options')
self.assertEqual(res['subprojects'], [])
@@ -2940,7 +2938,6 @@ recommended as it is not supported on some platforms''')
testfile = os.path.join(self.common_test_dir, '47 subproject options', 'meson.build')
res = self.introspect_directory(testfile, '--projectinfo')
self.assertEqual(set(res['buildsystem_files']), set(['meson_options.txt', 'meson.build']))
- self.assertEqual(res['name'], 'suboptions')
self.assertEqual(res['version'], None)
self.assertEqual(res['descriptive_name'], 'suboptions')
self.assertEqual(len(res['subprojects']), 1)