Skip to content

Commit 7a785cb

Browse files
Arm backend: Initialize basicConfig for logging (#15674)
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 <oscar.andersson@arm.com>
1 parent 246a685 commit 7a785cb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

backends/arm/test/conftest.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
# This source code is licensed under the BSD-style license found in the
44
# LICENSE file in the root directory of this source tree.
55

6+
import logging
67
import os
78
import random
9+
import sys
810
from typing import Any
911

1012
import pytest
@@ -27,6 +29,8 @@ def pytest_configure(config):
2729
if config.option.arm_run_tosa_version:
2830
pytest._test_options["tosa_version"] = config.option.arm_run_tosa_version
2931

32+
logging.basicConfig(stream=sys.stdout)
33+
3034

3135
def pytest_collection_modifyitems(config, items):
3236
pass

0 commit comments

Comments
 (0)