aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/mixins/compcert.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2023-07-09 03:12:59 -0400
committerEli Schwartz <eschwartz@archlinux.org>2023-07-10 20:08:01 -0400
commit9d446d80db5b11b947521cd4e4a21231ddc5154e (patch)
treeadc3981a119bd6255d20a637038d5a3ed4efff8a /mesonbuild/compilers/mixins/compcert.py
parent9fd3753f8a582a3e29903f105727047b2ced5729 (diff)
downloadmeson-9d446d80db5b11b947521cd4e4a21231ddc5154e.zip
meson-9d446d80db5b11b947521cd4e4a21231ddc5154e.tar.gz
meson-9d446d80db5b11b947521cd4e4a21231ddc5154e.tar.bz2
mtest: try a bit harder to avoid weird non-parseable output at startup
In commit 628effb3698e85e403351d2705d576cf4ee8c50c we started verifying the build.ninja file was up to date before even `--list`ing tests, because we could end up with incorrect information. This meant that ninja always runs at startup, and typically returns "no work to do", which ended up listed as "one of" the tests. Instead of unconditionally running ninja attached to the console, first check it in dry-run mode with stdout intercepted, to see if ninja considers itself up to date. If it is, continue. Only if an actual refresh is needed, do we run it while attached to the console. In the garden path, this avoids useless information. In cases where we'd already print a full meson reconfigure log, we continue to do so.
Diffstat (limited to 'mesonbuild/compilers/mixins/compcert.py')
0 files changed, 0 insertions, 0 deletions