Lines Matching refs:exit_code
130 _metadata->exit_code = KSFT_SKIP; \
431 if (_metadata->exit_code) \
437 _metadata->exit_code = KSFT_FAIL; \
454 _metadata->exit_code = WEXITSTATUS(status); \
795 _metadata->exit_code = KSFT_FAIL; \
806 _metadata->exit_code = KSFT_FAIL; \
914 int exit_code; member
927 return metadata->exit_code != KSFT_FAIL && in __test_passed()
928 metadata->exit_code <= KSFT_SKIP; in __test_passed()
1007 t->exit_code = KSFT_FAIL; in __wait_for_test()
1018 t->exit_code = KSFT_FAIL; in __wait_for_test()
1027 t->exit_code = KSFT_FAIL; in __wait_for_test()
1036 t->exit_code = KSFT_FAIL; in __wait_for_test()
1043 t->exit_code = WEXITSTATUS(status); in __wait_for_test()
1045 t->exit_code = KSFT_FAIL; in __wait_for_test()
1054 t->exit_code = KSFT_PASS; in __wait_for_test()
1058 t->exit_code = KSFT_FAIL; in __wait_for_test()
1065 t->exit_code = KSFT_FAIL; in __wait_for_test()
1071 t->exit_code = KSFT_PASS; in __wait_for_test()
1079 t->exit_code = KSFT_FAIL; in __wait_for_test()
1218 t->exit_code = KSFT_PASS; in __run_test()
1237 t->exit_code = KSFT_FAIL; in __run_test()
1241 _exit(t->exit_code); in __run_test()
1254 t->exit_code = __test_passed(t) ? KSFT_XPASS : KSFT_XFAIL; in __run_test()
1258 else if (t->exit_code == KSFT_PASS || t->exit_code == KSFT_FAIL) in __run_test()
1263 ksft_test_result_code(t->exit_code, test_name, in __run_test()