[U-Boot] 4 failures with 'ut dm'

Hi Simon,
With current u-boot/master, there are 4 failures with 'ut dm'. I was wondering is this not covered by travis-ci?
Test: dm_test_bus_children: bus.c test/dm/bus.c:112, dm_test_bus_children(): num_devices == list_count_items(&uc->dev_head): Expected 7, got 6
Test: dm_test_fdt: test-fdt.c test/dm/test-fdt.c:184, dm_test_fdt(): num_devices == list_count_items(&uc->dev_head): Expected 7, got 6
Test: dm_test_spmi_access: spmi.c test/dm/spmi.c:55, dm_test_spmi_access(): 0 == device_get_child(bus, 0, &pmic): Expected 0, got -22
Test: dm_test_spmi_access_peripheral: spmi.c test/dm/spmi.c:82, dm_test_spmi_access_peripheral(): 0 == gpio_lookup_name("spmi1", &dev, &offset, &gpio): Expected 0, got -22
Regards, Bin

On Sat, Oct 6, 2018 at 9:14 PM Bin Meng bmeng.cn@gmail.com wrote:
Hi Simon,
With current u-boot/master, there are 4 failures with 'ut dm'. I was wondering is this not covered by travis-ci?
Test: dm_test_bus_children: bus.c test/dm/bus.c:112, dm_test_bus_children(): num_devices == list_count_items(&uc->dev_head): Expected 7, got 6
Test: dm_test_fdt: test-fdt.c test/dm/test-fdt.c:184, dm_test_fdt(): num_devices == list_count_items(&uc->dev_head): Expected 7, got 6
The above 2 failures are fixed with the following patch: http://patchwork.ozlabs.org/patch/979952/
Test: dm_test_spmi_access: spmi.c test/dm/spmi.c:55, dm_test_spmi_access(): 0 == device_get_child(bus, 0, &pmic): Expected 0, got -22
Test: dm_test_spmi_access_peripheral: spmi.c test/dm/spmi.c:82, dm_test_spmi_access_peripheral(): 0 == gpio_lookup_name("spmi1", &dev, &offset, &gpio): Expected 0, got -22
Regards, Bin

Hi Bin,
On 6 October 2018 at 10:32, Bin Meng bmeng.cn@gmail.com wrote:
On Sat, Oct 6, 2018 at 9:14 PM Bin Meng bmeng.cn@gmail.com wrote:
Hi Simon,
With current u-boot/master, there are 4 failures with 'ut dm'. I was wondering is this not covered by travis-ci?
Test: dm_test_bus_children: bus.c test/dm/bus.c:112, dm_test_bus_children(): num_devices == list_count_items(&uc->dev_head): Expected 7, got 6
Test: dm_test_fdt: test-fdt.c test/dm/test-fdt.c:184, dm_test_fdt(): num_devices == list_count_items(&uc->dev_head): Expected 7, got 6
The above 2 failures are fixed with the following patch: http://patchwork.ozlabs.org/patch/979952/
Test: dm_test_spmi_access: spmi.c test/dm/spmi.c:55, dm_test_spmi_access(): 0 == device_get_child(bus, 0, &pmic): Expected 0, got -22
Test: dm_test_spmi_access_peripheral: spmi.c test/dm/spmi.c:82, dm_test_spmi_access_peripheral(): 0 == gpio_lookup_name("spmi1", &dev, &offset, &gpio): Expected 0, got -22
Thanks for that. I have seen the last two errors at least, but with dm/master I only see failures with test_gpt and test_unlink!
Hoping we can get everything perfect for this release.
Regards, Simon
participants (2)
-
Bin Meng
-
Simon Glass