From 4e8d5fdbbe925b621447722ceb7bebb05188709c Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Fri, 25 May 2018 14:06:20 +0200 Subject: [PATCH] py: tests: Mark mii tests as xfail On systems which have mii commands enabled but there is no ethernet controller these commands fails. For example zcu100, sanbox. Signed-off-by: Michal Simek --- test/py/tests/test_mii.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/py/tests/test_mii.py b/test/py/tests/test_mii.py index 718dda0f194..7df5563a3fa 100644 --- a/test/py/tests/test_mii.py +++ b/test/py/tests/test_mii.py @@ -4,12 +4,14 @@ import pytest +@pytest.mark.xfail @pytest.mark.buildconfigspec("cmd_mii") def test_mii_info(u_boot_console): expected_response = "PHY" response = u_boot_console.run_command("mii info") assert(expected_response in response) +@pytest.mark.xfail @pytest.mark.buildconfigspec("cmd_mii") def test_mii_list(u_boot_console): expected_response = "Current device" -- 2.47.3