]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
test: py: Use proper boardspec for zcu102 i2c device test
authorMichal Simek <michal.simek@xilinx.com>
Thu, 18 Jan 2018 07:23:54 +0000 (08:23 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 31 Jan 2018 12:15:49 +0000 (13:15 +0100)
Add full board name which is required. Wildcard are not supported yet.

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

index 723eb0552c368b80082e25cef18a907972416b03..47d5feeb1ec1adfb35b5aa9692f5aa5de071d181 100644 (file)
@@ -53,7 +53,8 @@ def test_i2c_probe_zc70x(u_boot_console):
     expected_response = "0000: " + val + " " + val + " " + val + " " + val + " " + val + " "
     assert(expected_response in response)
 
-@pytest.mark.boardspec("xilinx_zynqmp_zcu102")
+@pytest.mark.boardspec("xilinx_zynqmp_zcu102_rev1_0")
+@pytest.mark.boardspec("xilinx_zynqmp_zcu102_revA")
 @pytest.mark.buildconfigspec("cmd_i2c")
 def test_i2c_probe_zcu102(u_boot_console):
     test_skip = u_boot_console.config.env.get('env__i2c_device_test_skip', False)