| /test/ |
| A D | ut.c | 30 va_list args; in ut_failf() local 35 vprintf(fmt, args); in ut_failf() 36 va_end(args); in ut_failf() 71 va_list args; in ut_check_console_line() local 77 va_end(args); in ut_check_console_line() 92 va_list args; in ut_check_console_linen() local 98 va_end(args); in ut_check_console_linen() 127 va_list args; in ut_check_skip_to_linen() local 133 va_end(args); in ut_check_skip_to_linen() 154 va_list args; in ut_check_skip_to_line() local [all …]
|
| /test/py/ |
| A D | test.py | 17 args = [os.path.dirname(__file__) + '/tests'] variable 18 args.extend(sys.argv) 21 if not [arg for arg in args if '--tb=' in arg]: 22 args.append('--tb=short') 24 sys.exit(pytest.main(args))
|
| A D | console_board.py | 59 args = [self.config.board_type, self.config.board_identity] 60 s = Spawn(['u-boot-test-console'] + args) 67 cmd = ['u-boot-test-reset'] + args 81 args = [self.config.board_type, self.config.board_identity] 82 cmd = ['u-boot-test-release'] + args
|
| A D | spawn.py | 82 def __init__(self, args, cwd=None, decode_signal=False): argument 117 os.execvp(args[0], args)
|
| A D | conftest.py | 689 board = boards.args[0] 715 for arg in options.args: 719 argsString = ', '.join(options.args) 722 option = options.args[0] 748 tool = tools.args[0] 778 role = roles.args[0]
|
| /test/lib/ |
| A D | uthread.c | 90 static int _mutex_worker(struct mw_args *args) in _mutex_worker() argument 92 struct unit_test_state *uts = args->uts; in _mutex_worker() 94 ut_asserteq(-EBUSY, uthread_mutex_trylock(args->m)); in _mutex_worker() 95 ut_assertok(uthread_mutex_lock(args->m)); in _mutex_worker() 96 args->flag = 1; in _mutex_worker() 97 ut_assertok(uthread_mutex_unlock(args->m)); in _mutex_worker() 114 struct mw_args args = { .uts = uts, .m = &m, .flag = 0 }; in uthread_mutex() local 123 ut_assertok(uthread_create(NULL, mutex_worker, (void *)&args, 0, in uthread_mutex() 129 ut_asserteq(0, args.flag); in uthread_mutex() 136 ut_asserteq(1, args.flag); in uthread_mutex()
|
| A D | getopt.c | 16 int args, char *argv[], int expected_count, in do_test_getopt() argument 23 opt = getopt_silent(gs, args, argv, optstring); in do_test_getopt() 37 opt = getopt_silent(gs, args, argv, optstring); in do_test_getopt()
|
| /test/dm/ |
| A D | ofnode.c | 316 ut_asserteq(1, args.args[0]); in dm_test_ofnode_phandle() 320 ut_asserteq(4, args.args[0]); in dm_test_ofnode_phandle() 324 ut_asserteq(5, args.args[0]); in dm_test_ofnode_phandle() 325 ut_asserteq(1, args.args[4]); in dm_test_ofnode_phandle() 331 ut_asserteq(12, args.args[0]); in dm_test_ofnode_phandle() 346 ut_asserteq(10, args.args[0]); in dm_test_ofnode_phandle() 353 ut_asserteq(30, args.args[0]); in dm_test_ofnode_phandle() 411 ut_asserteq(1, args.args[0]); in dm_test_ofnode_phandle_ot() 415 ut_asserteq(4, args.args[0]); in dm_test_ofnode_phandle_ot() 419 ut_asserteq(5, args.args[0]); in dm_test_ofnode_phandle_ot() [all …]
|
| A D | test-fdt.c | 955 struct ofnode_phandle_args args; in dm_test_read_phandle() local 977 ut_asserteq(1, args.args_count); in dm_test_read_phandle() 978 ut_asserteq(1, args.args[0]); in dm_test_read_phandle() 980 ut_asserteq(1, args.args_count); in dm_test_read_phandle() 981 ut_asserteq(4, args.args[0]); in dm_test_read_phandle() 983 ut_asserteq(5, args.args_count); in dm_test_read_phandle() 984 ut_asserteq(5, args.args[0]); in dm_test_read_phandle() 985 ut_asserteq(1, args.args[4]); in dm_test_read_phandle() 990 ut_asserteq(12, args.args[0]); in dm_test_read_phandle() 1003 ut_asserteq(10, args.args[0]); in dm_test_read_phandle() [all …]
|
| /test/py/tests/ |
| A D | test_vboot.py | 194 args = [mkimage, '-F', '-k', tmpdir, '-K', dtb, '-r', fit] 196 args += options.split(' ') 198 utils.run_and_log(ubman, args) 213 args += options.split(' ') 215 utils.run_and_log(ubman, args) 228 args = [mkimage, '-F', '-k', tmpdir, '-K', dtb, fit] 230 args += options.split(' ') 232 utils.run_and_log(ubman, args) 592 args = [mkimage, '-F', '-k', tmpdir, fit] 594 args += options.split(' ') [all …]
|
| /test/cmd/ |
| A D | mem_search.c | 107 char *const args[] = {"ms.b", "0", "100", "34"}; in mem_test_ms_cont() local 133 cmd_process(CMD_FLAG_REPEAT, 4, args, &repeatable, NULL); in mem_test_ms_cont() 155 char *const args[] = {"ms.b", "1", "ff", "12"}; in mem_test_ms_cont_end() local 178 cmd_process(CMD_FLAG_REPEAT, 4, args, &repeatable, NULL); in mem_test_ms_cont_end() 183 cmd_process(CMD_FLAG_REPEAT, 4, args, &repeatable, NULL); in mem_test_ms_cont_end()
|
| /test/log/ |
| A D | log_filter.c | 40 #define create_filter(args, filter_num) do {\ in log_test_filter() argument 41 ut_assertok(run_command("log filter-add -p " args, 0)); \ in log_test_filter()
|
| /test/py/tests/test_fs/test_squashfs/ |
| A D | sqfs_common.py | 131 def mksquashfs(args): argument 137 subprocess.run(['mksquashfs ' + args], shell=True, check=True,
|
| /test/py/tests/test_fs/ |
| A D | test_erofs.py | 55 args = ' '.join([output_path, input_path]) 56 subprocess.run(['mkfs.erofs -zlz4 ' + args], shell=True, check=True,
|