Lines Matching defs:test_env
95 struct test_env { struct
96 struct test_selector test_selector;
97 struct test_selector subtest_selector;
98 bool verifier_stats;
99 bool debug;
100 enum verbosity verbosity;
102 bool jit_enabled;
103 bool has_testmod;
104 bool get_test_cnt;
105 bool list_test_names;
107 struct prog_test_def *test; /* current running test */
108 struct test_state *test_state; /* current running test state */
109 struct subtest_state *subtest_state; /* current running subtest state */
111 FILE *stdout;
112 FILE *stderr;
113 int nr_cpus;
115 int succ_cnt; /* successful tests */
116 int sub_succ_cnt; /* successful sub-tests */
117 int fail_cnt; /* total failed tests + sub-tests */
118 int skip_cnt; /* skipped tests */
120 int saved_netns_fd;
121 int workers; /* number of worker process */
122 int worker_id; /* id number of current worker, main process is -1 */
123 pid_t *worker_pids; /* array of worker pids */
124 int *worker_socks; /* array of worker socks */
125 int *worker_current_test; /* array of current running test for each worker */