From 93c818f5e0ee03cd751fb356bc888cfad71b763e Mon Sep 17 00:00:00 2001 From: Oscar Andersson Date: Fri, 7 Nov 2025 13:57:47 +0100 Subject: [PATCH] Arm backend: Initialize basicConfig for logging In a previous patch, the basicConfig for the logging was removed which led to log-prints not being displayed when running the tests. This patch adds it back, but without a default log-level. Signed-off-by: Oscar Andersson Change-Id: I3c6f96eddc7405c1f9f88428e043e480af1e1596 --- backends/arm/test/conftest.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backends/arm/test/conftest.py b/backends/arm/test/conftest.py index 99e9afc01b4..db07824432f 100644 --- a/backends/arm/test/conftest.py +++ b/backends/arm/test/conftest.py @@ -3,8 +3,10 @@ # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. +import logging import os import random +import sys from typing import Any import pytest @@ -27,6 +29,8 @@ def pytest_configure(config): if config.option.arm_run_tosa_version: pytest._test_options["tosa_version"] = config.option.arm_run_tosa_version + logging.basicConfig(stream=sys.stdout) + def pytest_collection_modifyitems(config, items): pass