diff options
author | Nellie Zhang <nelliezh@gmail.com> | 2021-05-02 11:09:11 -0400 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2021-05-03 13:06:05 -0700 |
commit | 802f66f442d4ce8d5aadc6cbeb67ec7db2414da4 (patch) | |
tree | 8f49ad44051e57d0c8e7083d36469d8edb171688 /run_unittests.py | |
parent | a48a89374a57297420863bd9fa3c2ef2e4a6a064 (diff) | |
download | meson-802f66f442d4ce8d5aadc6cbeb67ec7db2414da4.zip meson-802f66f442d4ce8d5aadc6cbeb67ec7db2414da4.tar.gz meson-802f66f442d4ce8d5aadc6cbeb67ec7db2414da4.tar.bz2 |
Clarify incorrect configuration format message
Print the path and line where the problem occurred to make it more clear
what the error message means.
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-x | run_unittests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/run_unittests.py b/run_unittests.py index 828c80e..1556b10 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -2126,7 +2126,7 @@ class AllPlatformTests(BasePlatformTests): def test_do_conf_file_by_format(self): def conf_str(in_data, confdata, vformat): - (result, missing_variables, confdata_useless) = mesonbuild.mesonlib.do_conf_str(in_data, confdata, variable_format = vformat) + (result, missing_variables, confdata_useless) = mesonbuild.mesonlib.do_conf_str('configuration_file', in_data, confdata, variable_format = vformat) return '\n'.join(result) def check_formats(confdata, result): |