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