summaryrefslogtreecommitdiff
path: root/test/py/tests/test_log.py
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2018-05-25 15:28:45 +0300
committerTom Rini <trini@konsulko.com>2018-05-31 15:53:11 +0300
commit680a52c35088dc30a4ca18870ec89ff3e1ac0e52 (patch)
tree0bea603a7fb948297a0aeb8e07f73af657220b3e /test/py/tests/test_log.py
parenta903c9a04c02a6bed059046a209f54ca19ca1d6e (diff)
downloadu-boot-680a52c35088dc30a4ca18870ec89ff3e1ac0e52.tar.xz
tests: Make test_log.py tests depend on cmd_log not log
While the tests in this testcase are for the log subsystem they are only able to be run if CONFIG_CMD_LOG is enabled as well as CONFIG_LOG, so update the buildconfigspec requirement. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'test/py/tests/test_log.py')
-rw-r--r--test/py/tests/test_log.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/py/tests/test_log.py b/test/py/tests/test_log.py
index d1c2a36d8f..605275b039 100644
--- a/test/py/tests/test_log.py
+++ b/test/py/tests/test_log.py
@@ -12,7 +12,7 @@ import pytest
LOGL_FIRST, LOGL_WARNING, LOGL_INFO = (0, 4, 6)
-@pytest.mark.buildconfigspec('log')
+@pytest.mark.buildconfigspec('cmd_log')
def test_log(u_boot_console):
"""Test that U-Boot logging works correctly."""
def check_log_entries(lines, mask, max_level=LOGL_INFO):
@@ -98,7 +98,7 @@ def test_log(u_boot_console):
test8()
test9()
-@pytest.mark.buildconfigspec('log')
+@pytest.mark.buildconfigspec('cmd_log')
def test_log_format(u_boot_console):
"""Test the 'log format' and 'log rec' commands"""
def run_with_format(fmt, expected_output):