aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/compilers.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-09-20 13:47:18 -0700
committerDylan Baker <dylan@pnwbakers.com>2021-09-20 19:38:42 -0700
commite049494890c76ab2b74a382dea8f4f1147fe0f25 (patch)
tree3e4ee1cc0d631601c463cc6f195025192527c35d /mesonbuild/compilers/compilers.py
parent173a40be330c1aedec9f7f99ebca67a5edd25c3d (diff)
downloadmeson-e049494890c76ab2b74a382dea8f4f1147fe0f25.zip
meson-e049494890c76ab2b74a382dea8f4f1147fe0f25.tar.gz
meson-e049494890c76ab2b74a382dea8f4f1147fe0f25.tar.bz2
mtest: Allow gtest protocol test to fail more gracefully
Currently, if the test fails to produce XML (or valid XML) then the test fails with a backtrace. It's actually pretty easy to get into this situation, a total failure of the test will result in no XML being written (this can happen, for example, if rpaths to gtest are not correctly set up). If we can't read the test, go ahead and complete using `TestRunExitCode.complete()`, which will fail for the bad exit code.
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
0 files changed, 0 insertions, 0 deletions