Lines Matching refs:test_status

69 static ZTEST_BMEM enum ztest_status test_status = ZTEST_STATUS_OK;  variable
78 if (test_status) { in end_report()
539 test_status = 1; in run_test()
585 test_status = ZTEST_STATUS_CRITICAL_ERROR; in ztest_test_fail()
601 test_status = ZTEST_STATUS_CRITICAL_ERROR; in ztest_test_pass()
623 test_status = ZTEST_STATUS_CRITICAL_ERROR; in ztest_test_skip()
741 test_status = 1; in run_test()
807 if (FAIL_FAST && test_status != ZTEST_STATUS_OK) { in z_ztest_run_test_suite_ptr()
808 return test_status; in z_ztest_run_test_suite_ptr()
812 test_status = ZTEST_STATUS_CRITICAL_ERROR; in z_ztest_run_test_suite_ptr()
819 test_status = ZTEST_STATUS_CRITICAL_ERROR; in z_ztest_run_test_suite_ptr()
872 if ((fail && FAIL_FAST) || test_status == ZTEST_STATUS_CRITICAL_ERROR) { in z_ztest_run_test_suite_ptr()
894 if ((fail && FAIL_FAST) || test_status == ZTEST_STATUS_CRITICAL_ERROR) { in z_ztest_run_test_suite_ptr()
899 if (test_status == ZTEST_STATUS_OK && fail != 0) { in z_ztest_run_test_suite_ptr()
900 test_status = ZTEST_STATUS_HAS_FAILURE; in z_ztest_run_test_suite_ptr()
1093 if (test_status == ZTEST_STATUS_CRITICAL_ERROR) { in z_impl_ztest_run_test_suites()
1116 if (test_status == ZTEST_STATUS_CRITICAL_ERROR || in z_impl_ztest_run_test_suites()
1117 (test_status == ZTEST_STATUS_HAS_FAILURE && FAIL_FAST)) { in z_impl_ztest_run_test_suites()
1129 if (test_status == ZTEST_STATUS_CRITICAL_ERROR || in z_impl_ztest_run_test_suites()
1130 (test_status == ZTEST_STATUS_HAS_FAILURE && FAIL_FAST)) { in z_impl_ztest_run_test_suites()
1190 test_status = ZTEST_STATUS_HAS_FAILURE; in ztest_verify_all_test_suites_ran()
1198 test_status = 1; in ztest_verify_all_test_suites_ran()
1236 return test_status; in main()
1387 if (test_status == ZTEST_STATUS_CRITICAL_ERROR || in cmd_run_suite()
1388 (test_status == ZTEST_STATUS_HAS_FAILURE && FAIL_FAST)) { in cmd_run_suite()
1491 if (test_status == 0) { in main()