]> git.ipfire.org Git - thirdparty/u-boot.git/commit
py/test: Fix xilinx i2c eeprom test
authorMichal Simek <michal.simek@xilinx.com>
Thu, 5 Mar 2020 07:29:37 +0000 (08:29 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 2 Feb 2021 12:49:32 +0000 (13:49 +0100)
commit2966235942eef130e4a757cceed03f5856e9ea3e
tree793c3dda4fd488074c9c4f253bd5f1b8f113d430
parentc116f08ee3fc4137b4a0a36484d3a32e785a32c2
py/test: Fix xilinx i2c eeprom test

By converting Zynq boards to generic configuration there is no longer
option to use marking like "@pytest.mark.boardspec("zynq_zc706")" to run
certain tests.
That's why change this code to look for device specification what to test.

Here is setup for zc706

env__i2c_eeprom_device_test = {
"bus": 3,
"eeprom_addr": 0x54,
}

Variable env__i2c_device_test_skip is completely removed because logic has
changed.

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