Merge branch 'ps/meson-tap-parse'

Meson-based build/test framework now understands TAP output
generated by our tests.

* ps/meson-tap-parse:
  meson: parse TAP output generated by our tests
  meson: introduce kwargs variable for tests
  test-lib: fail on unexpectedly passing tests
  t7815: fix unexpectedly passing test on macOS
  t/test-lib: fix TAP format for BASH_XTRACEFD warning
  t/test-lib: don't print shell traces to stdout
  t983*: use prereq to check for Python-specific git-p4(1) support
  t9822: use prereq to check for ISO-8859-1 support
  t: silence output from `test_create_repo()`
  t: stop announcing prereqs
This commit is contained in:
Junio C Hamano
2025-06-17 10:44:42 -07:00
19 changed files with 133 additions and 117 deletions

View File

@@ -2054,6 +2054,18 @@ subdir('templates')
# can properly set up test dependencies. The bin-wrappers themselves are set up
# at configuration time, so these are fine.
if get_option('tests')
test_kwargs = {
'timeout': 0,
}
# The TAP protocol was already understood by previous versions of Meson, but
# it was incompatible with the `meson test --interactive` flag.
if meson.version().version_compare('>=1.8.0')
test_kwargs += {
'protocol': 'tap',
}
endif
subdir('t')
endif