]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
py: tests: Mark mii tests as xfail
authorMichal Simek <michal.simek@xilinx.com>
Fri, 25 May 2018 12:06:20 +0000 (14:06 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 30 May 2018 06:24:08 +0000 (08:24 +0200)
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 <michal.simek@xilinx.com>
test/py/tests/test_mii.py

index 718dda0f194e8e4df9c87f9e037f64ebfcc459eb..7df5563a3fa7d56ca2dcbd0be6e4b514f2ce502e 100644 (file)
@@ -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"