}
DM_TEST(dm_test_uclassname_what, UTF_SCAN_FDT);
+Note that the convention is to NOT add a blank line before the macro, so that
+the function it relates to is more obvious.
+
Replace 'uclassname' with the name of your uclass, if applicable. Replace 'what'
with what you are testing.
return 0;
}
-
DM_TEST(dm_test_armffa_cmd, UTF_SCAN_FDT | UTF_CONSOLE_REC);
return 0;
}
-
BDINFO_TEST(bdinfo_test_full, UTF_CONSOLE_REC);
static int bdinfo_test_help(struct unit_test_state *uts)
return 0;
}
-
BDINFO_TEST(bdinfo_test_help, UTF_CONSOLE_REC);
static int bdinfo_test_memory(struct unit_test_state *uts)
return 0;
}
-
BDINFO_TEST(bdinfo_test_memory, UTF_CONSOLE_REC);
static int bdinfo_test_eth(struct unit_test_state *uts)
return 0;
}
-
BDINFO_TEST(bdinfo_test_eth, UTF_CONSOLE_REC);
int do_ut_bdinfo(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
return 0;
}
-
EXIT_TEST(cmd_exit_test, UTF_CONSOLE_REC);
int do_ut_exit(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
{
return mbr_test_run(uts);
}
-
DM_TEST(dm_test_cmd_mbr, UTF_SCAN_FDT | UTF_CONSOLE_REC);
return 0;
}
-
PCI_MPS_TEST(test_pci_mps_safe, UTF_CONSOLE_REC);
int do_ut_pci_mps(struct cmd_tbl *cmdtp, int flag, int argc,
return 0;
}
-
DM_TEST(dm_test_cmd_pinmux_status_pinname, UTF_SCAN_PDATA | UTF_SCAN_FDT);
return 0;
}
-
DM_TEST(dm_test_pwm_cmd, UTF_SCAN_PDATA | UTF_SCAN_FDT | UTF_CONSOLE_REC);
return 0;
}
-
DM_TEST(dm_test_read_write, UTF_SCAN_FDT | UTF_CONSOLE_REC);
return 0;
}
-
SETEXPR_TEST(setexpr_test_fmt, UTF_CONSOLE_REC);
#endif
return 0;
}
-
DM_TEST(dm_test_cmd_temperature, UTF_SCAN_FDT | UTF_CONSOLE_REC);
}
return 0;
}
-
LIB_TEST(lib_test_hush_echo, 0);
return 0;
}
-
LIB_TEST(net_test_wget, 0);
return CMD_RET_SUCCESS;
}
-
COMMON_TEST(test_autoboot, 0);
return 0;
}
-
DM_TEST(dm_test_axi_base, UTF_SCAN_PDATA | UTF_SCAN_FDT);
/* Test that sandbox PCI bus numbering works correctly */
return 0;
}
-
DM_TEST(dm_test_axi_busnum, UTF_SCAN_PDATA | UTF_SCAN_FDT);
/* Test that we can use the store device correctly */
return 0;
}
-
DM_TEST(dm_test_axi_store, UTF_SCAN_PDATA | UTF_SCAN_FDT);
return 0;
}
-
DM_TEST(dm_test_bootcount_rtc, UTF_SCAN_PDATA | UTF_SCAN_FDT);
static int dm_test_bootcount_syscon_four_bytes(struct unit_test_state *uts)
return 0;
}
-
DM_TEST(dm_test_bootcount_syscon_four_bytes,
UTF_SCAN_PDATA | UTF_SCAN_FDT);
return 0;
}
-
-DM_TEST(dm_test_bootcount_syscon_two_bytes,
- UTF_SCAN_PDATA | UTF_SCAN_FDT);
+DM_TEST(dm_test_bootcount_syscon_two_bytes, UTF_SCAN_PDATA | UTF_SCAN_FDT);
return 0;
}
-
DM_TEST(dm_test_clk_base, UTF_SCAN_FDT);
static int dm_test_clk(struct unit_test_state *uts)
return 1;
}
-
DM_TEST(dm_test_clk_ccf, UTF_SCAN_FDT);
return 0;
}
-
DM_TEST(dm_test_compare_node_name, UTF_SCAN_PDATA);
/* Test that binding with uclass plat setting occurs correctly */
return 0;
}
-
DM_TEST(dm_test_cpu, UTF_SCAN_FDT);
return 0;
}
-
DM_TEST(dm_test_dsa_probe, UTF_SCAN_FDT);
/* This test sends ping requests with the local address through each DSA port
return 0;
}
-
DM_TEST(dm_test_dsa, UTF_SCAN_FDT);
return 0;
}
-
DM_TEST(dm_test_dsi_host, UTF_SCAN_PDATA | UTF_SCAN_FDT);
return 0;
}
-
DM_TEST(dm_test_eth_async_arp_reply, UTF_SCAN_FDT);
static int sb_check_ping_reply(struct udevice *dev, void *packet,
return 0;
}
-
DM_TEST(dm_test_eth_async_ping_reply, UTF_SCAN_FDT);
#if IS_ENABLED(CONFIG_IPV6_ROUTER_DISCOVERY)
return 0;
}
-
DM_TEST(dm_test_validate_ra, 0);
static int dm_test_process_ra(struct unit_test_state *uts)
return 0;
}
-
DM_TEST(dm_test_process_ra, 0);
#endif
return 0;
}
-
DM_TEST(dm_test_extcon, UTF_SCAN_FDT);
return 0;
}
-
DM_TEST(dm_test_ffa_ack, UTF_SCAN_FDT | UTF_CONSOLE_REC);
static int dm_test_ffa_nack(struct unit_test_state *uts)
return 0;
}
-
DM_TEST(dm_test_ffa_nack, UTF_SCAN_FDT | UTF_CONSOLE_REC);
return 0;
}
-
DM_TEST(dm_test_fpga, UTF_SCAN_FDT);
return 0;
}
-
DM_TEST(dm_test_hwspinlock_base, UTF_SCAN_PDATA | UTF_SCAN_FDT);
return 0;
}
-
DM_TEST(dm_test_i2c_addr_offset, UTF_SCAN_PDATA | UTF_SCAN_FDT);
static int dm_test_i2c_reg_clrset(struct unit_test_state *uts)
return 0;
}
-
DM_TEST(dm_test_mdio, UTF_SCAN_FDT);
return 0;
}
-
DM_TEST(dm_test_mdio_mux, UTF_SCAN_FDT);
return 0;
}
-
DM_TEST(dm_test_memory, UTF_SCAN_FDT);
return 0;
}
-
DM_TEST(dm_test_misc, UTF_SCAN_FDT);
return 0;
}
-
DM_TEST(dm_test_nop, UTF_FLAT_TREE | UTF_SCAN_FDT);
return CMD_RET_SUCCESS;
}
-
DM_TEST(dm_test_nvmxip, UTF_SCAN_FDT | UTF_CONSOLE_REC);
return 0;
}
-
DM_TEST(dm_test_osd_basics, UTF_SCAN_PDATA | UTF_SCAN_FDT);
static int dm_test_osd_extended(struct unit_test_state *uts)
return 0;
}
-
DM_TEST(dm_test_osd_extended, UTF_SCAN_PDATA | UTF_SCAN_FDT);
ut_asserteq(sandbox_get_pci_ep_irq_count(bus), 10);
return 0;
}
-
DM_TEST(dm_test_pci_ep_base, UTF_SCAN_PDATA | UTF_SCAN_FDT);
return 0;
}
-
DM_TEST(dm_test_power_pmic_mc34708_get, UTF_SCAN_FDT);
/* Test PMIC I/O */
return 0;
}
-
DM_TEST(dm_test_qfw_cpus, UTF_SCAN_PDATA);
static int dm_test_qfw_firmware_list(struct unit_test_state *uts)
return 0;
}
-
DM_TEST(dm_test_qfw_firmware_list, UTF_SCAN_PDATA);
return 0;
}
-
DM_TEST(dm_test_reboot_mode_gpio,
UTF_PROBE_TEST | UTF_SCAN_FDT | UTF_FLAT_TREE);
return 0;
}
-
DM_TEST(dm_test_reboot_mode_rtc,
UTF_PROBE_TEST | UTF_SCAN_FDT | UTF_FLAT_TREE);
return 0;
}
-
DM_TEST(dm_test_regmap_getset, UTF_SCAN_PDATA | UTF_SCAN_FDT);
/* Read polling test */
return 0;
}
-
DM_TEST(dm_test_reset_base, UTF_SCAN_FDT);
static int dm_test_reset(struct unit_test_state *uts)
return 0;
}
-
DM_TEST(dm_test_scmi_base, UTF_SCAN_FDT);
static int dm_test_scmi_cmd(struct unit_test_state *uts)
return 0;
}
-
DM_TEST(dm_test_scmi_cmd, UTF_SCAN_FDT);
static int dm_test_scmi_power_domains(struct unit_test_state *uts)
return release_sandbox_scmi_test_devices(uts, dev);
}
-
DM_TEST(dm_test_scmi_power_domains, UTF_SCAN_FDT);
static int dm_test_scmi_clocks(struct unit_test_state *uts)
return 0;
}
-
DM_TEST(dm_test_serial, UTF_SCAN_FDT);
return 0;
}
-
DM_TEST(dm_test_sm, UTF_SCAN_FDT);
return 0;
}
-
DM_TEST(dm_test_soc, UTF_SCAN_FDT);
return 0;
}
-
DM_TEST(dm_test_sysinfo, UTF_SCAN_PDATA | UTF_SCAN_FDT);
return 0;
}
-
DM_TEST(dm_test_tag_ptr, 0);
/*
return 0;
}
-
DM_TEST(dm_test_tag_val, 0);
/*
return 0;
}
-
DM_TEST(dm_test_tag_inval, 0);
/*
return 0;
}
-
DM_TEST(dm_test_tag_del_all, 0);
return rc;
}
-
DM_TEST(dm_test_tee, UTF_SCAN_FDT);
return 0;
}
-
DM_TEST(dm_test_read_resource, UTF_SCAN_PDATA | UTF_SCAN_FDT);
hdestroy_r(&htab);
return 0;
}
-
ENV_TEST(env_test_htab_fill, 0);
/* Fill the hashtable up halfway an repeateadly delete/create elements
hdestroy_r(&htab);
return 0;
}
-
ENV_TEST(env_test_htab_deletes, 0);
return CMD_RET_SUCCESS;
}
-
LIB_TEST(lib_asn1_x509, 0);
#endif /* CONFIG_X509_CERTIFICATE_PARSER */
return CMD_RET_SUCCESS;
}
-
LIB_TEST(lib_asn1_pkcs7, 0);
#endif /* CONFIG_PKCS7_MESSAGE_PARSER */
return CMD_RET_SUCCESS;
}
-
LIB_TEST(lib_asn1_pkey, 0);
#endif /* CONFIG_RSA_PUBLIC_KEY_PARSER */
return 0;
}
-
LIB_TEST(lib_test_efi_dp_check_length, 0);
return 0;
}
-
LIB_TEST(lib_test_efi_image_region_add, 0);
static int lib_test_efi_image_region_sort(struct unit_test_state *uts)
return 0;
}
-
LIB_TEST(lib_test_efi_image_region_sort, 0);
return 0;
}
-
LIB_TEST(lib_test_hex_to_bin, 0);
static int lib_test_hex2bin(struct unit_test_state *uts)
return 0;
}
-
LIB_TEST(lib_test_hex2bin, 0);
static int lib_test_bin2hex(struct unit_test_state *uts)
return 0;
}
-
LIB_TEST(lib_test_bin2hex, 0);
/* simulate 512 MiB RAM beginning at 1.5GiB */
return test_noreserved(uts, 0xE0000000, 4, 1);
}
-
LIB_TEST(lib_test_lmb_noreserved, 0);
static int lib_test_lmb_unaligned_size(struct unit_test_state *uts)
return CMD_RET_SUCCESS;
}
-
LIB_TEST(lib_rsa_verify_valid, 0);
/**
return CMD_RET_SUCCESS;
}
-
LIB_TEST(lib_rsa_verify_invalid, 0);
#endif /* RSA_VERIFY_WITH_PKEY */
return 0;
}
-
LIB_TEST(lib_sscanf, 0);
}
return 0;
}
-
LIB_TEST(lib_memset, 0);
/**
}
return 0;
}
-
LIB_TEST(lib_memcpy, 0);
/**
}
return 0;
}
-
LIB_TEST(lib_memmove, 0);
/** lib_memdup() - unit test for memdup() */
return ret;
}
-
LIB_TEST(lib_test_aes, 0);
return 0;
}
-
LIB_TEST(lib_crc8, 0);
return CMD_RET_SUCCESS;
}
-
LIB_TEST(lib_crypt, 0);
return 0;
}
-
LIB_TEST(lib_errno_str, 0);
ut_assertok(test_print_freq(uts, 54321987654321, "54321.99 GHz;"));
return 0;
}
-
LIB_TEST(lib_test_print_freq, 0);
static int test_print_size(struct unit_test_state *uts,
ut_assertok(test_print_size(uts, 54321987654321, "49.4 TiB;"));
return 0;
}
-
LIB_TEST(lib_test_print_size, 0);
return 0;
}
-
LIB_TEST(lib_test_uuid_to_le, 0);