Skip to content

mtest: warn on TAP unknown lines instead of erroring#15952

Open
mayank-dev-15 wants to merge 1 commit into
mesonbuild:masterfrom
mayank-dev-15:6810-tap-unknown-lines
Open

mtest: warn on TAP unknown lines instead of erroring#15952
mayank-dev-15 wants to merge 1 commit into
mesonbuild:masterfrom
mayank-dev-15:6810-tap-unknown-lines

Conversation

@mayank-dev-15

Copy link
Copy Markdown
Contributor

The TAP spec says unknown lines must not be treated as errors. Meson was marking them as ERROR for version <= 13, which caused tests to fail when the output contained non-TAP lines.

Now they are warnings, matching the spec. The test still passes if all actual test results are OK.

Fixes #6810

The TAP spec says unknown lines must not be treated as errors.
Meson was marking them as ERROR for version <= 13, which
caused tests to fail when the output contained non-TAP lines.

Now they are warnings, matching the spec. The test still passes
if all actual test results are OK.

Fixes mesonbuild#6810
@mayank-dev-15 mayank-dev-15 requested a review from bonzini as a code owner June 23, 2026 15:10

@bonzini bonzini left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, this is not an error so either a7e458e should have reintroduced the error for version <= 13, or this is the right thing to do.

However, warnings are yellow - can you adjust?

@bonzini bonzini added this to the 1.11.3 milestone Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TAP implementation issue

2 participants