aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/detect.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-07-28 11:17:16 -0700
committerDylan Baker <dylan@pnwbakers.com>2021-08-16 16:21:51 -0700
commit5fe03cf8d91ad9477098373b44b6892c1deab6aa (patch)
treedc8fced77e9e6baef0ec1cfe1f430b9e3ed9261f /mesonbuild/compilers/detect.py
parent310d7d13f4566bc8aac56b87c54594e5e442528f (diff)
downloadmeson-5fe03cf8d91ad9477098373b44b6892c1deab6aa.zip
meson-5fe03cf8d91ad9477098373b44b6892c1deab6aa.tar.gz
meson-5fe03cf8d91ad9477098373b44b6892c1deab6aa.tar.bz2
unittests/base: Allow init method to fail
This adds a new keyword argument to the init method, `allow_fail`. When set to True (default is False) then a failure to configure is not an error, and output is still returned. This can be useful for cases where we expect initialization to fail, and want to check the output.
Diffstat (limited to 'mesonbuild/compilers/detect.py')
0 files changed, 0 insertions, 0 deletions