Since c2a5ac39
, MesonApp.generate() closes the logfile before returning,
which means that when invoked by mesonmain.run(), any MesonException is not
logged there.
MesonApp.generate() does not appear to have any other users I can find.
This somewhat reduces the diagnostic value of the logfile.
This also interacts badly with running project tests in CI, as _run_tests
chooses to report the logfile contents, rather than stdout, for the
configure step, and it thus doesn't report any configure error which caused
a test failure.
pull/3072/head
parent
e2b5ac29d6
commit
c027bb2c42
1 changed files with 5 additions and 4 deletions
Loading…
Reference in new issue