meson/unittests
Patrick Steinhardt de7d8f9e48 test: fix hang when running tests that need parsing with `--interactive`
When running tests with `--interactive` we don't redirect stdin, stdout
or stderr and instead pass them on to the user's console. This redirect
causes us to hang in case the test in question needs parsing, like it is
the case for TAP output, because we cannot read the process's stdout.

Fix this hang by not parsing output when running in interactive mode.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
2025-02-27 15:25:57 -05:00
..
machinefiles Create a directory for machine files used in unit tests. 2024-06-02 17:43:50 +03:00
__init__.py tests: fix assertion rewriting when pytest is used 2023-08-18 00:37:40 -04:00
allplatformstests.py test: fix hang when running tests that need parsing with `--interactive` 2025-02-27 15:25:57 -05:00
baseplatformtests.py Make all Meson level options overridable per subproject. 2025-02-13 23:57:48 +02:00
cargotests.py cargo: Load Cargo.lock 2024-06-14 15:59:42 -04:00
darwintests.py linkers: skip -export_dynamic flag before MacOS 10.7 2024-08-20 10:04:20 -07:00
datatests.py Remove module type from OptionKey. 2024-07-17 18:37:51 +03:00
failuretests.py compilers: Check if GCC has support for ObjC and/or ObjC++ 2025-01-27 09:38:53 -08:00
helpers.py unittests: use mock.patch.dict to deal with os.environ 2024-08-15 14:14:56 -04:00
internaltests.py programs: fix regex to match multi-digit major version 2025-01-08 13:45:40 -05:00
linuxcrosstests.py print out which command needs an exe_wrapper 2024-12-20 09:24:24 -08:00
linuxliketests.py Make all Meson level options overridable per subproject. 2025-02-13 23:57:48 +02:00
machinefiletests.py Make all Meson level options overridable per subproject. 2025-02-13 23:57:48 +02:00
optiontests.py Fix yielding when top project does not define the option. 2025-02-22 16:32:04 +02:00
platformagnostictests.py Permit all unknown b_ options. 2025-02-22 01:54:02 +02:00
pythontests.py ci: Update appleclang job to test Xcode-provided Python 2025-02-04 08:16:23 +05:30
rewritetests.py Condensed directory names for release. 2025-01-09 16:52:16 +02:00
subprojectscommandtests.py Use SPDX-License-Identifier consistently 2023-12-13 15:19:21 -05:00
taptests.py mtest: tap: accept out-of-order or partly-numbered tests 2024-12-19 09:44:15 -08:00
windowstests.py Make all Meson level options overridable per subproject. 2025-02-13 23:57:48 +02:00