summaryrefslogtreecommitdiff
path: root/docs/markdown
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2025-11-17 22:53:21 -0500
committerEli Schwartz <eschwartz93@gmail.com>2025-11-17 23:58:21 -0500
commitbf45777a1d979465abea3cd1ade8ff227eacdf9a (patch)
tree293d065b035bd98a2519920b48b87983c5a9c136 /docs/markdown
parent48c5c0a84792131da8f8d2a07c4cc8982811c1b0 (diff)
downloadmeson-bf45777a1d979465abea3cd1ade8ff227eacdf9a.tar.gz
mtest: consistently, sanely, exit "1" if tests fail
Previously, we exited as "number of test failures", as a side effect of a refactor. Regressed in commit 297749581dd4dcb4e68da4b1d0622d2916fb8db3. This was a bad sentinel for "track if tests have failed", and formerly we did indeed set "returncode = 1" upon encountering a test fail! The consequence of this is that we break: - returning failure at all, if test fails are a multiple of 256 - returning 125 for "git bisect run shall skip this commit", as a documented guarantee of meson - returning > 127 shall abort bisection entirely The behavior is nonsensical and accidental, and nobody should be using this accident to count the number of failed tests (as it won't even work). Fixes: https://github.com/mesonbuild/meson/issues/15251
Diffstat (limited to 'docs/markdown')
0 files changed, 0 insertions, 0 deletions