chore: Ensure the logging library does not get upset when output capture is disabled.

Changelog-Fixed: Testing infrastructure no longer fails when logging output capture is disabled.
This commit is contained in:
Christian Decker
2026-01-14 15:49:03 +01:00
committed by Rusty Russell
parent 49049deb82
commit eae521b15d
4 changed files with 8 additions and 1 deletions

View File

@@ -518,7 +518,7 @@ ifeq ($(PYTEST),)
exit 1
else
# Explicitly hand VALGRIND so you can override on make cmd line.
PYTHONPATH=$(MY_CHECK_PYTHONPATH) TEST_DEBUG=1 VALGRIND=$(VALGRIND) uv run $(PYTEST) $(PYTEST_TESTS) $(PYTEST_OPTS)
PYTHONPATH=$(MY_CHECK_PYTHONPATH) TEST_DEBUG=1 TEST_LOG_IGNORE_ERRORS=1 VALGRIND=$(VALGRIND) uv run $(PYTEST) $(PYTEST_TESTS) $(PYTEST_OPTS)
endif
check-fuzz: $(ALL_FUZZ_TARGETS)