Lines Matching refs:current_test
320 struct json_object *current_test = NULL; in fill_from_output() local
354 current_test = get_or_create_json_object(tests, piglit_name); in fill_from_output()
356 json_object_object_add(current_test, key, in fill_from_output()
359 json_object_object_add(current_test, "igt-version", in fill_from_output()
375 current_test = get_or_create_json_object(tests, piglit_name); in fill_from_output()
447 json_object_object_add(current_test, key, in fill_from_output()
451 json_object_object_add(current_test, "igt-version", in fill_from_output()
456 if (!json_object_object_get_ex(current_test, "result", NULL)) { in fill_from_output()
458 set_result(current_test, resulttext); in fill_from_output()
459 set_runtime(current_test, time); in fill_from_output()
609 struct json_object *current_test; in add_empty_dmesgs_where_missing() local
615 current_test = get_or_create_json_object(tests, piglit_name); in add_empty_dmesgs_where_missing()
616 if (!json_object_object_get_ex(current_test, "dmesg", NULL)) { in add_empty_dmesgs_where_missing()
617 add_dmesg(current_test, "", 0, NULL, 0); in add_empty_dmesgs_where_missing()
631 struct json_object *current_test = NULL; in fill_from_dmesg() local
660 if (current_test != NULL) { in fill_from_dmesg()
662 add_dmesg(current_test, dmesg, dmesglen, warnings, warningslen); in fill_from_dmesg()
672 current_test = get_or_create_json_object(tests, piglit_name); in fill_from_dmesg()
691 if (current_test != NULL) { in fill_from_dmesg()
692 add_dmesg(current_test, dmesg, dmesglen, warnings, warningslen); in fill_from_dmesg()
701 current_test = get_or_create_json_object(tests, piglit_name); in fill_from_dmesg()
707 add_dmesg(current_test, dmesg, dmesglen, NULL, 0); in fill_from_dmesg()
712 current_test = get_or_create_json_object(tests, piglit_name); in fill_from_dmesg()
713 add_dmesg(current_test, dmesg, dmesglen, warnings, warningslen); in fill_from_dmesg()
1041 struct json_object *current_test; in try_add_notrun_results() local
1051 current_test = get_or_create_json_object(results->tests, piglit_name); in try_add_notrun_results()
1052 json_object_object_add(current_test, "out", json_object_new_string("")); in try_add_notrun_results()
1053 json_object_object_add(current_test, "err", json_object_new_string("")); in try_add_notrun_results()
1054 json_object_object_add(current_test, "dmesg", json_object_new_string("")); in try_add_notrun_results()
1055 json_object_object_add(current_test, "result", json_object_new_string("notrun")); in try_add_notrun_results()
1062 current_test = get_or_create_json_object(results->tests, piglit_name); in try_add_notrun_results()
1063 json_object_object_add(current_test, "out", json_object_new_string("")); in try_add_notrun_results()
1064 json_object_object_add(current_test, "err", json_object_new_string("")); in try_add_notrun_results()
1065 json_object_object_add(current_test, "dmesg", json_object_new_string("")); in try_add_notrun_results()
1066 json_object_object_add(current_test, "result", json_object_new_string("notrun")); in try_add_notrun_results()