diff options
| author | Eli Schwartz <eschwartz@archlinux.org> | 2022-12-16 15:35:33 -0500 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2022-12-17 00:26:38 +0200 |
| commit | b7a5c384a1f1ba80c09904e7ef4f5160bdae3345 (patch) | |
| tree | 7b1edee015822464527bf4d73a5727c74e01fb2a /docs/markdown | |
| parent | 27bd499772483c620bc0eca219edf2707de3dee6 (diff) | |
| download | meson-b7a5c384a1f1ba80c09904e7ef4f5160bdae3345.tar.gz | |
mtest: handle TAP tests with unknown version.
TAP 14 states:
> Harnesses may treat any TAP stream lacking a version as a failed test.
TAP 13 states:
> In the absence of any version line version 12 is assumed. It is an
> error to explicitly specify any version lower than 13.
So, modern TAP is saying that we should treat a missing version as a
test definition bug, it's no longer okay to use a missing version as
saying "let's use TAP 12". But, we can choose whether to treat it that
way or error out.
Let's do a diagnostic, as we do elsewhere. But allow TAP streams that
aren't well defined, if they used to be well defined (back in TAP 12).
Diffstat (limited to 'docs/markdown')
0 files changed, 0 insertions, 0 deletions
