Skip to content
Snippets Groups Projects
Commit aaa95362 authored by Krzysztof Swiecicki's avatar Krzysztof Swiecicki
Browse files

pmem2: print SKIP message for log level >= 1

Information in testconfig.py.example states that SKIP message
should be available for 'unittest_log_level' >= 1.
parent 311a8377
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env python3
# SPDX-License-Identifier: BSD-3-Clause
# Copyright 2019-2021, Intel Corporation
# Copyright 2019-2022, Intel Corporation
"""Main script for unit tests execution.
......@@ -115,7 +115,7 @@ class TestRunner:
continue
except futils.Skip as s:
self.msg.print_verbose('{}: SKIP: {}'.format(t, s))
self.msg.print('{}: SKIP: {}'.format(t, s))
except futils.Fail as f:
self._test_failed(t, c, f)
......@@ -124,7 +124,7 @@ class TestRunner:
self._test_passed(t)
except futils.Skip as s:
self.msg.print_verbose('{}: SKIP: {}'.format(tc, s))
self.msg.print('{}: SKIP: {}'.format(tc, s))
except futils.Fail as f:
self._test_failed(tc, c, f)
ret = 1
......
......@@ -29,7 +29,7 @@ class Build(metaclass=ctx.CtxType):
try:
builds.append(b(**kwargs))
except futils.Skip as s:
msg.print_verbose('{}: SKIP: {}'.format(tc, s))
msg.print('{}: SKIP: {}'.format(tc, s))
return builds
......
# SPDX-License-Identifier: BSD-3-Clause
# Copyright 2019-2021, Intel Corporation
# Copyright 2019-2022, Intel Corporation
#
"""Granularity context classes and utilities"""
......@@ -188,7 +188,7 @@ class Granularity(metaclass=ctx.CtxType):
gran._check_real_pmem_req_is_met(tc)
gs.append(gran)
except futils.Skip as s:
msg.print_verbose('{}: SKIP: {}'.format(tc, s))
msg.print('{}: SKIP: {}'.format(tc, s))
return gs
......
# SPDX-License-Identifier: BSD-3-Clause
# Copyright 2019-2021, Intel Corporation
# Copyright 2019-2022, Intel Corporation
#
"""External tools integration"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment