Lines Matching refs:args
79 def run_one_test(args, xtra_args, transport, trace, test_mod, test_spec, nameLen, packets): argument
87 result = test_mod.run_a_test(args, transport, trace, test_spec, packets);
94 def run_tests(args, xtra_args, transport, trace, dumps): argument
99 test_mod = try_to_import(args.test, "test", "tests.");
103 t = args.case
107 if t.lower() == "randomize" or args.shuffle:
111 …result = run_one_test(args, xtra_args, transport, trace, test_mod, test_spec, nameLen, Packets(dum…
114 if result != 0 and args.stop_on_failure:
118 …result = run_one_test(args, xtra_args, transport, trace, test_mod, test_specs[t], nameLen, Packets…
126 if args.shuffle:
135 …result = run_one_test(args, xtra_args, transport, trace, test_mod, test_specs[t], nameLen, Packets…
138 if result != 0 and args.stop_on_failure:
189 (args, xtra_args) = parse_arguments();
191 random.seed(int(args.seed));
193 trace = Trace(args.verbose);
195 transport = init_transport(args.transport, xtra_args, trace);
197 trace.btsnoop = Btsnoop(args.store_btsnoop, args.btmon_socket_path)
209 result = run_tests(args, xtra_args, transport, trace, device_dumps)