/openbmc/u-boot/test/env/ |
H A D | attr.c | 18 ut_asserteq_str("bar", attrs); in env_test_attrs_lookup() 21 ut_asserteq_str("bar", attrs); in env_test_attrs_lookup() 24 ut_asserteq_str("bar", attrs); in env_test_attrs_lookup() 27 ut_asserteq_str("bar", attrs); in env_test_attrs_lookup() 30 ut_asserteq_str("bar", attrs); in env_test_attrs_lookup() 33 ut_asserteq_str("bar", attrs); in env_test_attrs_lookup() 36 ut_asserteq_str("bar", attrs); in env_test_attrs_lookup() 39 ut_asserteq_str("bar", attrs); in env_test_attrs_lookup() 46 ut_asserteq_str("baz", attrs); in env_test_attrs_lookup() 50 ut_asserteq_str("bat", attrs); in env_test_attrs_lookup() [all …]
|
H A D | hashtable.c | 53 ut_asserteq_str(key, ritem->key); in htab_check_fill() 54 ut_asserteq_str(key, ritem->data); in htab_check_fill() 79 ut_asserteq_str(key, ritem->key); in htab_create_delete() 80 ut_asserteq_str(key, ritem->data); in htab_create_delete()
|
/openbmc/u-boot/test/lib/ |
H A D | hexdump.c | 72 ut_asserteq_str("649421de", dst); in lib_test_bin2hex() 74 ut_asserteq_str("aa2e7545", dst); in lib_test_bin2hex() 76 ut_asserteq_str("75453bc5", dst); in lib_test_bin2hex() 78 ut_asserteq_str("a16884c3", dst); in lib_test_bin2hex() 80 ut_asserteq_str("156b2e5e", dst); in lib_test_bin2hex() 82 ut_asserteq_str("2e035fff", dst); in lib_test_bin2hex() 84 ut_asserteq_str("0ffce99f", dst); in lib_test_bin2hex() 86 ut_asserteq_str("d3999443", dst); in lib_test_bin2hex() 88 ut_asserteq_str("91dd87bc", dst); in lib_test_bin2hex() 90 ut_asserteq_str("7fec8963", dst); in lib_test_bin2hex()
|
/openbmc/u-boot/test/dm/ |
H A D | gpio.c | 32 ut_asserteq_str(dev->name, "extra-gpios"); in dm_test_gpio() 37 ut_asserteq_str("b", name); in dm_test_gpio() 51 ut_asserteq_str("b4: input: 0 [ ]", buf); in dm_test_gpio() 56 ut_asserteq_str("b4: output: 0 [ ]", buf); in dm_test_gpio() 60 ut_asserteq_str("b4: output: 1 [ ]", buf); in dm_test_gpio() 93 ut_asserteq_str("b4: input: 0 [ ]", buf); in dm_test_gpio() 97 ut_asserteq_str(dev->name, "base-gpios"); in dm_test_gpio() 102 ut_asserteq_str("a", name); in dm_test_gpio() 119 ut_asserteq_str(dev->name, "gpio_sandbox"); in dm_test_gpio_anon() 190 ut_asserteq_str("a-test", dev->name); in dm_test_gpio_phandles() [all …]
|
H A D | eth.c | 28 ut_asserteq_str("eth@10002000", env_get("ethact")); in dm_test_eth() 32 ut_asserteq_str("eth@10003000", env_get("ethact")); in dm_test_eth() 36 ut_asserteq_str("eth@10004000", env_get("ethact")); in dm_test_eth() 47 ut_asserteq_str("eth@10002000", env_get("ethact")); in dm_test_eth_alias() 51 ut_asserteq_str("eth@10004000", env_get("ethact")); in dm_test_eth_alias() 56 ut_asserteq_str("eth@10002000", env_get("ethact")); in dm_test_eth_alias() 60 ut_asserteq_str("eth@10003000", env_get("ethact")); in dm_test_eth_alias() 74 ut_asserteq_str("eth@10003000", env_get("ethact")); in dm_test_eth_prime() 80 ut_asserteq_str("eth@10002000", env_get("ethact")); in dm_test_eth_prime() 153 ut_asserteq_str("eth@10002000", env_get("ethact")); in _dm_test_eth_rotate1() [all …]
|
H A D | test-fdt.c | 274 ut_asserteq_str("b-test", dev->name); in dm_test_fdt_uclass_seq() 277 ut_asserteq_str("a-test", dev->name); in dm_test_fdt_uclass_seq() 285 ut_asserteq_str("e-test", dev->name); in dm_test_fdt_uclass_seq() 295 ut_asserteq_str("b-test", dev->name); in dm_test_fdt_uclass_seq() 302 ut_asserteq_str("d-test", dev->name); in dm_test_fdt_uclass_seq() 306 ut_asserteq_str("d-test", dev->name); in dm_test_fdt_uclass_seq() 316 ut_asserteq_str("f-test", dev->name); in dm_test_fdt_uclass_seq() 333 ut_asserteq_str("e-test", dev->name); in dm_test_fdt_offset() 509 ut_asserteq_str("dev@42", dev->name); in dm_test_fdt_translation() 727 ut_asserteq_str("ldo1", dev->name); in dm_test_fdt_phandle() [all …]
|
H A D | spmi.c | 27 ut_asserteq_str(name, bus->name); in dm_test_spmi_probe() 58 ut_asserteq_str(pmic_name, pmic->name); in dm_test_spmi_access() 93 ut_asserteq_str("spmi", name); in dm_test_spmi_access_peripheral()
|
H A D | sound.c | 23 ut_asserteq_str("audio-codec", uc_priv->codec->name); in dm_test_sound() 24 ut_asserteq_str("i2s", uc_priv->i2s->name); in dm_test_sound()
|
H A D | pci.c | 84 ut_asserteq_str("tHIS IS A tESt", ptr); in dm_test_pci_swapcase() 105 ut_asserteq_str("tHIS IS A tESt", ptr); in dm_test_pci_swapcase() 166 ut_asserteq_str("tHIS IS A tESt On DynamiC", ptr); in dm_test_pci_mixed() 190 ut_asserteq_str("tHIS IS A tESt On StatiC", ptr); in dm_test_pci_mixed()
|
H A D | bus.c | 154 ut_asserteq_str("c-test@5", dev->name); in dm_test_bus_children_funcs() 211 ut_asserteq_str("c-test@5", dev->name); in dm_test_bus_children_iterators() 213 ut_asserteq_str("c-test@0", dev->name); in dm_test_bus_children_iterators() 215 ut_asserteq_str("c-test@1", dev->name); in dm_test_bus_children_iterators() 221 ut_asserteq_str("c-test@5", dev->name); in dm_test_bus_children_iterators() 223 ut_asserteq_str("c-test@0", dev->name); in dm_test_bus_children_iterators()
|
H A D | sysreset.c | 56 ut_asserteq_str("Reset Status: WARM", msg); in dm_test_sysreset_get_status() 61 ut_asserteq_str("Reset Status: COLD", msg); in dm_test_sysreset_get_status()
|
H A D | regulator.c | 71 ut_asserteq_str(devname, dev_by_devname->name); in dm_test_power_regulator_get() 80 ut_asserteq_str(platname, uc_pdata->name); in dm_test_power_regulator_get()
|
H A D | pmic.c | 34 ut_asserteq_str(name, dev->name); in power_pmic_get()
|
H A D | core.c | 789 ut_asserteq_str(testdev->name, finddev->name); in dm_test_uclass_devices_find_by_name() 850 ut_asserteq_str(testdev->name, finddev->name); in dm_test_uclass_devices_get_by_name() 871 ut_asserteq_str("test", uclass_get_name(UCLASS_TEST)); in dm_test_uclass_names()
|
H A D | adc.c | 28 ut_asserteq_str(SANDBOX_ADC_DEVNAME, dev->name); in dm_test_adc_bind()
|
/openbmc/u-boot/test/ |
H A D | unicode_ut.c | 104 ut_asserteq_str("i1?l", buf); in unicode_test_string16() 108 ut_asserteq_str("i2?l", buf); in unicode_test_string16() 112 ut_asserteq_str("i3?", buf); in unicode_test_string16() 173 ut_asserteq_str("\xc7\xb4", buffer); in unicode_test_utf8_put() 445 ut_asserteq_str(d1, buf); in unicode_test_utf16_utf8_strcpy() 450 ut_asserteq_str(d2, buf); in unicode_test_utf16_utf8_strcpy() 455 ut_asserteq_str(d3, buf); in unicode_test_utf16_utf8_strcpy() 460 ut_asserteq_str(d4, buf); in unicode_test_utf16_utf8_strcpy() 466 ut_asserteq_str("i1?l", buf); in unicode_test_utf16_utf8_strcpy() 471 ut_asserteq_str("i2?l", buf); in unicode_test_utf16_utf8_strcpy() [all …]
|
/openbmc/u-boot/test/overlay/ |
H A D | cmd_ut_overlay.c | 88 ut_asserteq_str("foobar", val); in fdt_overlay_change_str_property() 100 ut_asserteq_str("foobar2", val); in fdt_overlay_add_str_property()
|
/openbmc/u-boot/include/test/ |
H A D | ut.h | 70 #define ut_asserteq_str(expr1, expr2) { \ macro
|