aboutsummaryrefslogtreecommitdiff
path: root/run_unittests.py
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2019-04-02 11:12:10 +0200
committerDaniel Mensinger <daniel@mensinger-ka.de>2019-04-02 11:21:05 +0200
commit1937bbafac07df48e78fea96a8c3c086db564574 (patch)
treeaeef1d51c9b02f37ba6cc5d008367505dbe3b2af /run_unittests.py
parent75219989ca468923142738d93df8aef64e897b8e (diff)
downloadmeson-1937bbafac07df48e78fea96a8c3c086db564574.zip
meson-1937bbafac07df48e78fea96a8c3c086db564574.tar.gz
meson-1937bbafac07df48e78fea96a8c3c086db564574.tar.bz2
mintro: Fix crash when required is a function (closes #5177)
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-xrun_unittests.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/run_unittests.py b/run_unittests.py
index 7ceb553..bc28eea 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -3408,7 +3408,7 @@ recommended as it is not supported on some platforms''')
self.assertDictEqual(buildopts_to_find, {})
# Check buildsystem_files
- bs_files = ['meson.build', 'sharedlib/meson.build', 'staticlib/meson.build']
+ bs_files = ['meson.build', 'meson_options.txt', 'sharedlib/meson.build', 'staticlib/meson.build']
bs_files = [os.path.join(testdir, x) for x in bs_files]
self.assertPathListEqual(list(sorted(res['buildsystem_files'])), list(sorted(bs_files)))
@@ -3560,6 +3560,12 @@ recommended as it is not supported on some platforms''')
'conditional': False
},
{
+ 'name': 'bugDep1',
+ 'required': False,
+ 'has_fallback': False,
+ 'conditional': False
+ },
+ {
'name': 'somethingthatdoesnotexist',
'required': True,
'has_fallback': False,