[PATCH v2] test/py: i2c: Add tests for i2c command

Michal Simek michal.simek at amd.com
Wed Dec 20 17:45:24 CET 2023



On 12/20/23 16:46, Tom Rini wrote:
> 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 at amd.com>
>> Reviewed-by: Tom Rini <trini at 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

Can you give me link to that gitlab build to see it?
I can push it via my tree but it will be just resource wasting to see errors 
which you have seen already.

Thanks,
Michal


More information about the U-Boot mailing list