mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
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:
12
meson.build
12
meson.build
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user