Searched refs:test_state (Results 1 – 6 of 6) sorted by relevance
97 static volatile int test_state = 0; variable123 if (test_state == 0) { in sigsegv()130 test_state = 1; in sigsegv()131 } else if (test_state == 1) { in sigsegv()139 test_state = 2; in sigsegv()140 } else if (test_state == 2) { in sigsegv()145 test_state = 3; in sigsegv()
69 env.test_state->stdout_saved = stdout; in stdio_hijack_init()103 stdout = env.test_state->stdout_saved; in stdio_restore_cleanup()104 stderr = env.test_state->stdout_saved; in stdio_restore_cleanup()106 fclose(env.test_state->stdout_saved); in stdio_restore_cleanup()107 env.test_state->stdout_saved = NULL; in stdio_restore_cleanup()263 static void print_test_result(const struct prog_test_def *test, const struct test_state *test_state) in print_test_result() argument265 int skipped_cnt = test_state->skip_cnt; in print_test_result()266 int subtests_cnt = test_state->subtest_num; in print_test_result()269 if (test_state->error_cnt) in print_test_result()320 const struct test_state *test_state, in dump_test_log() argument[all …]
82 struct test_state { struct115 struct test_state *test_state; /* current running test state */ argument
6 static void clear_test_state(struct test_state *state) in clear_test_state()15 struct test_state *state = env.test_state; in test_prog_tests_framework()
48 struct test_state { struct59 int test_init(struct test_state *state) in test_init() argument145 void test_exit(struct test_state *state) in test_exit()156 struct test_state state; in main()