]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
py: i2c: Do not run i2c eeprom test on qemu
authorMichal Simek <michal.simek@xilinx.com>
Fri, 8 Sep 2017 08:09:17 +0000 (10:09 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 8 Sep 2017 11:48:11 +0000 (13:48 +0200)
qemu has no i2c eeprom wired.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
test/py/tests/test_i2c.py

index 9e6ff786e12248821dbe3d0e1dca2b9a06801b49..7195409fdcb647e44a5e14203c8ccab2b8c3efdc 100644 (file)
@@ -23,6 +23,7 @@ def test_i2c_probe(u_boot_console):
     response = u_boot_console.run_command("i2c probe")
     assert(expected_response in response)
 
+@pytest.mark.boardidentity("!qemu")
 @pytest.mark.boardspec("zynq_zc702")
 @pytest.mark.boardspec("zynq_zc706")
 @pytest.mark.buildconfigspec("cmd_i2c")