cgwalters / git-evtag

Extended verification for git tags
Other
131 stars 13 forks source link

build: Add a Meson build system #43

Closed smcv closed 1 year ago

smcv commented 1 year ago
smcv commented 1 year ago

@cgwalters, are you interested in adding a Meson build system, and potentially dropping the Autotools build at some point?

(If not, I can move the first three commits into a separate PR.)

eli-schwartz commented 1 year ago
  • tests: Be more strict about producing TAP output Autotools' TAP parser ignores unknown content on stdout, but Meson is much more strict and considers unknown content to be an error. Redirect commands' stdout to stderr if they can produce arbitrary unstructured diagnostics on stdout.

Note: The TAP specification says that unknown lines are never parser errors, in order to allow for forward compatibility with new versions of TAP, but they may be harness errors, and some harnesses error, some ignore it, and some non-fatally warn about it.

The intention of unknown lines is, regardless, intended specifically for not-yet-implemented TAP keywords, and arbitrary content emitted by programs run within the test should be prefixed with # as the first character on the line, in order to be parsed as TAP diagnostics (that is, comments, which cannot affect the tests themselves but may of course be displayed by the harness for informational purposes).