meson/unittests
Eli Schwartz d0054f2c3c
mtest: warn on invalid TAP output
In commit a7e458effa we stopped erroring
out on invalid TAP stream contents, with the rationale that "prove" has
become more lenient.

A close reading of the TAP spec indicates why, though:

> A TAP parser is required to not consider an unknown line as an error but
> may optionally choose to capture said line and hand it to the test
> harness, which may have custom behavior attached. This is to allow for
> forward compatability. Test::Harness silently ignores incorrect lines,
> but will become more stringent in the future. TAP::Harness reports TAP
> syntax errors at the end of a test run.

The goal of treating unknown lines as an error in the TAP parser is not
because unknown lines are fine and dandy. The goal is to allow
implementing future versions of TAP, and handling it via existing
parsers. Since Meson has both a parser and a harness, let's do exactly
that -- pass these lines as a distinctive status to the test harness,
then have the test harness complain.
2022-12-05 15:46:46 -05:00
..
allplatformstests.py Add warning_level=everything 2022-11-27 16:50:48 -05:00
baseplatformtests.py unittests: add and use get_meson_log_raw function 2022-11-22 22:53:07 -05:00
darwintests.py editorconfig: add setting to trim trailing whitespace 2021-08-15 09:36:18 -04:00
datatests.py docs: Add documentation on pkgconfig.relocatable 2022-04-19 17:35:08 -04:00
failuretests.py Reword message in warning 2022-05-19 07:18:43 -04:00
helpers.py unittests: Fix rpath tests no nixos 2022-03-22 15:15:29 +02:00
internaltests.py Compilers: Keep ccache and exelist separated 2022-10-25 17:24:56 -04:00
linuxcrosstests.py Condense test directory names. 2022-03-29 02:12:02 +03:00
linuxliketests.py refactor pkg-config dependency to allow statically finding the program 2022-12-04 17:56:03 -05:00
machinefiletests.py Condense test directory names. 2022-03-29 02:12:02 +03:00
platformagnostictests.py unittests: add and use get_meson_log_raw function 2022-11-22 22:53:07 -05:00
pythontests.py Add regression test for Python dist. 2022-04-13 21:27:22 +03:00
rewritetests.py unittests: Fix warning about distutils deprecation 2022-01-30 02:13:42 +05:30
subprojectscommandtests.py tests: when generating git repositories, make sure that pgpsign is off 2021-09-03 14:14:15 -04:00
taptests.py mtest: warn on invalid TAP output 2022-12-05 15:46:46 -05:00
windowstests.py compilers: don't use instance checks to determine properties 2022-09-19 15:18:59 -04:00