
20 Dec
2023
20 Dec
'23
4:46 p.m.
On Tue, Nov 21, 2023 at 05:28:43PM +0530, Love Kumar wrote:
Add below test cases for i2c commands: i2c_bus - To show i2c bus info, i2c_dev - To set or show the current bus, i2c_probe - To probe the i2c device, i2c_eeprom - To test i2c eeprom device, i2c_probe_all_buses - To list down all the buses and probes it
Signed-off-by: Love Kumar love.kumar@amd.com Reviewed-by: Tom Rini trini@konsulko.com
Changes in v2:
- Take the configured eeprom value from env to read back and compare
test/py/tests/test_i2c.py | 108 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 test/py/tests/test_i2c.py
So this leads to failures in CI on other platforms. Please put this and the other tests through CI: https://docs.u-boot.org/en/latest/develop/ci_testing.html Thanks!
--
Tom