| /test/log/ |
| A D | syslog_test.c | 53 env->expected = NULL; in sb_log_tx_handler() 81 struct sb_log_env env; in log_test_syslog_err() local 90 env.uts = uts; in log_test_syslog_err() 114 struct sb_log_env env; in log_test_syslog_warning() local 123 env.uts = uts; in log_test_syslog_warning() 148 struct sb_log_env env; in log_test_syslog_notice() local 157 env.uts = uts; in log_test_syslog_notice() 182 struct sb_log_env env; in log_test_syslog_info() local 191 env.uts = uts; in log_test_syslog_info() 216 struct sb_log_env env; in log_test_syslog_debug() local [all …]
|
| A D | syslog_test_ndebug.c | 33 struct sb_log_env env; in log_test_syslog_nodebug() local 40 env.expected = "<7>sandbox uboot: log_test_syslog_nodebug() " in log_test_syslog_nodebug() 42 env.uts = uts; in log_test_syslog_nodebug() 45 sandbox_eth_set_priv(0, &env); in log_test_syslog_nodebug() 49 ut_assertnonnull(env.expected); in log_test_syslog_nodebug()
|
| /test/lib/ |
| A D | longjmp.c | 14 jmp_buf env; member 27 static noinline void test_longjmp(struct test_jmp_buf *env, int i) in test_longjmp() argument 29 env->val = i << 8; in test_longjmp() 30 longjmp(env->env, i); in test_longjmp() 49 struct test_jmp_buf env; in test_setjmp() local 52 env.val = -1; in test_setjmp() 53 ret = setjmp(env.env); in test_setjmp() 55 return ret ^ env.val; in test_setjmp() 56 test_longjmp(&env, i); in test_setjmp()
|
| /test/py/tests/ |
| A D | test_sleep.py | 26 sleep_skip = ubman.config.env.get('env__sleep_accurate', True) 34 sleep_time = ubman.config.env.get('env__sleep_time', 3) 35 sleep_margin = ubman.config.env.get('env__sleep_margin', 0.25) 50 sleep_skip = ubman.config.env.get("env__sleep_accurate", True) 54 sleep_time = ubman.config.env.get("env__sleep_time", 10) 55 sleep_margin = ubman.config.env.get("env__sleep_margin", 0.25)
|
| A D | test_efi_loader.py | 71 init_usb = ubman.config.env.get('env__net_uses_usb', False) 75 init_pci = ubman.config.env.get('env__net_uses_pci', False) 87 test_dhcp = ubman.config.env.get('env__net_dhcp_server', False) 89 env_vars = ubman.config.env.get('env__net_static_env_vars', None) 109 env_vars = ubman.config.env.get('env__net_static_env_vars', None) 111 test_dhcp = ubman.config.env.get('env__net_dhcp_server', False) 131 f = ubman.config.env.get(env_conf, None) 198 if ubman.config.env.get('env__efi_helloworld_net_http_test_skip', True): 230 check_smbios = ubman.config.env.get('env__efi_loader_check_smbios', False)
|
| A D | test_of_migrate.py | 53 env = dict(os.environ) 54 env['EXT_DTB'] = dtb_fname 55 env['DEVICE_TREE'] = 'sandbox_new' 56 env['NO_LTO'] = '1' # Speed up build 59 *migrate, '-w', '-o', tmpdir], ignore_errors=True, env=env)
|
| A D | test_net.py | 105 init_usb = ubman.config.env.get('env__net_uses_usb', False) 109 init_pci = ubman.config.env.get('env__net_uses_pci', False) 123 test_dhcp = ubman.config.env.get('env__net_dhcp_server', False) 143 test_dhcp = ubman.config.env.get('env__net_dhcp_server', False) 147 if ubman.config.env.get('env__dhcp_abort_test_skip', True): 193 test_dhcp6 = ubman.config.env.get('env__net_dhcp6_server', False) 212 env_vars = ubman.config.env.get('env__net_static_env_vars', None) 275 f = ubman.config.env.get('env__net_tftp_readable_file', None) 316 f = ubman.config.env.get('env__net_nfs_readable_file', None) 358 f = ubman.config.env.get("env__net_pxe_readable_file", None) [all …]
|
| A D | test_mii.py | 26 if ubman.config.env.get("env__mii_device_test_skip", False): 36 if ubman.config.env.get("env__mii_device_test_skip", False): 39 f = ubman.config.env.get("env__mii_device_test", None) 59 f = ubman.config.env.get("env__mii_device_test", None)
|
| A D | test_gpio.py | 111 f = ubman.config.env.get('env__gpio_dev_config',False) 135 f = ubman.config.env.get('env__gpio_dev_config',False) 159 f = ubman.config.env.get('env__gpio_dev_config',False) 183 f = ubman.config.env.get('env__gpio_dev_config',False) 211 f = ubman.config.env.get('env__gpio_dev_config',False) 244 f = ubman.config.env.get('env__gpio_dev_config', False) 288 f = ubman.config.env.get('env__gpio_dev_config', False)
|
| A D | test_reset.py | 28 if ubman.config.env.get('env__reset_test_skip', False): 35 f = ubman.config.env.get('env__reset_test', None)
|
| A D | test_zynq_secure.py | 52 f = ubman.config.env.get('env__zynq_aes_readable_file', None) 88 f = ubman.config.env.get('env__zynq_aes_readable_file', None) 116 f = ubman.config.env.get('env__zynq_aes_readable_file', None) 142 f = ubman.config.env.get('env__zynq_rsa_readable_file', None) 168 f = ubman.config.env.get('env__zynq_rsa_readable_file', None)
|
| A D | test_env.py | 56 self.env = {} 61 self.env[var] = value 73 for var in self.env: 89 if var not in self.env: 118 if var in state_test_env.env: 119 del state_test_env.env[var] 146 state_test_env.env[var] = value 195 env = file.read() 197 assert re.search(regex, env) 203 value = state_test_env.env[var]
|
| A D | test_net_boot.py | 151 f = ubman.config.env.get('env__net_tftp_bootable_file', None) 195 if ubman.config.env.get('env__tftp_boot_test_skip', True): 230 f = ubman.config.env.get('env__net_pxe_bootable_file', None) 251 if ubman.config.env.get('env__pxe_boot_test_skip', True): 302 if ubman.config.env.get('env__pxe_boot_test_skip', True): 381 if ubman.config.env.get('env__pxe_boot_test_skip', True):
|
| A D | test_tpm2.py | 51 skip_test = ubman.config.env.get('env__tpm_device_test_skip', False) 66 skip_test = ubman.config.env.get('env__tpm_device_test_skip', False) 81 skip_test = ubman.config.env.get('env__tpm_device_test_skip', False) 100 skip_test = ubman.config.env.get('env__tpm_device_test_skip', False)
|
| A D | test_efi_fit.py | 189 init_usb = ubman.config.env.get('env__net_uses_usb', False) 193 init_pci = ubman.config.env.get('env__net_uses_pci', False) 209 test_dhcp = ubman.config.env.get('env__net_dhcp_server', False) 231 env_vars = ubman.config.env.get('env__net_static_env_vars', None) 474 fit = ubman.config.env.get('env__efi_fit_tftp_file', None)
|
| A D | test_zynqmp_secure.py | 38 f = ubman.config.env.get('env__zynqmp_secure_readable_file', None) 71 f = ubman.config.env.get('env__zynqmp_secure_readable_file', None)
|
| A D | test_i2c.py | 35 f = ubman.config.env.get("env__i2c_device_test", None) 73 f = ubman.config.env.get("env__i2c_eeprom_device_test", None)
|
| A D | test_saveenv.py | 32 if ubman.config.env.get('env__saveenv_test_skip', False): 39 f = ubman.config.env.get('env__saveenv_test', None)
|
| A D | test_bootstage.py | 58 f = ubman.config.env.get('env__bootstage_cmd_file', None)
|
| A D | test_memtest.py | 28 f = ubman.config.env.get("env__memtest", None)
|
| /test/env/ |
| A D | Kconfig | 2 bool "Enable env unit tests" 5 This enables the 'ut env' command which runs a series of unit 6 tests on the env code.
|
| /test/py/ |
| A D | conftest.py | 163 env = os.environ.copy() 165 env['U_BOOT_BUILD_DIR'] = build_dir 167 env['U_BOOT_BUILD_DIR_EXTRA'] = build_dir_extra 170 env['U_BOOT_SOURCE_DIR'] = source_dir 174 env=env) 291 ubconfig.env = dict() 297 (ubconfig.env, 'u_boot_boardenv_' + board_type_filename), 298 (ubconfig.env, 'u_boot_boardenv_' + board_type_filename + '_' + 419 'env': ubman_fix.config.env,
|
| A D | utils.py | 160 def run_and_log(ubman, cmd, ignore_errors=False, stdin=None, env=None): argument 181 output = runner.run(cmd, ignore_errors=ignore_errors, stdin=stdin, env=env)
|
| /test/ |
| A D | Makefile | 23 obj-$(CONFIG_UT_ENV) += env/
|
| /test/py/tests/test_efi_capsule/ |
| A D | capsule_gen_binman.dts | 39 u-boot-env { 46 text = "u-boot-env:New";
|