/GUIX-v6.4.1/test/guix_test/regression_test/utility/ |
D | gx_validation_compare_file_data.c | 20 FILE *golden_file, *output_file; in gx_validation_compare_file_data() local 24 golden_file = fopen(golden_file_name, "rb"); in gx_validation_compare_file_data() 26 if(!golden_file) in gx_validation_compare_file_data() 35 fclose(golden_file); in gx_validation_compare_file_data() 39 fseek(golden_file, 0, SEEK_END); in gx_validation_compare_file_data() 40 size1 = ftell(golden_file); in gx_validation_compare_file_data() 48 cleanup_file(golden_file, golden_frame_buffer ); in gx_validation_compare_file_data() 64 cleanup_file(golden_file, golden_frame_buffer ); in gx_validation_compare_file_data() 68 rewind(golden_file); in gx_validation_compare_file_data() 71 size2 = fread(golden_frame_buffer, 1,size1,golden_file); in gx_validation_compare_file_data() [all …]
|
D | gx_validation_verify.c | 16 static FILE *golden_file = NULL; variable 258 get_frame_id(golden_file, &frame_list_tail->frame_id); in frame_read() 260 find_frame_data(golden_file); in frame_read() 262 result = fread(frame_list_tail->frame_buffer, 1, golden_file_frame_size, golden_file); in frame_read() 291 golden_file = fopen(golden_file_name, "rb"); in gx_validation_verify_start() 292 if(!golden_file) in gx_validation_verify_start() 300 read_file_header(golden_file, &color_format, &golden_file_total_frames, NULL, in gx_validation_verify_start() 366 if(golden_file) in gx_validation_verify_end() 368 fclose(golden_file); in gx_validation_verify_end() 369 golden_file = NULL; in gx_validation_verify_end()
|
D | gx_validation_verify.h | 22 int gx_validation_verify_start(char *test_name, char *golden_file, int checksum);
|
D | gx_validation_utility.h | 47 int gx_validation_validate_data_frame(char *golden_file, char *test_output);
|
D | gx_validation_utility.c | 411 int gx_validation_validate_data_frame(char *golden_file, char *test_output) in gx_validation_validate_data_frame() argument
|
/GUIX-v6.4.1/test/guix_test/regression_test/tests/ |
D | validation_guix_utility_canvas_to_bmp_4bpp_no_output.c | 58 char golden_file[255]; in control_thread_entry() local 65 gx_validation_extract_path(__FILE__, golden_file, &pathlen); in control_thread_entry() 66 memcpy(output_file, golden_file, pathlen); in control_thread_entry() 68 sprintf(golden_file + pathlen, "%s%s", relative_path, golden_bmp_file); in control_thread_entry() 70 status = gx_validation_compare_file_data(output_file, golden_file); in control_thread_entry() 73 sprintf(golden_file + pathlen, "%s%s", relative_path, scroll_wheel_golden_bmp_file); in control_thread_entry() 75 status = gx_validation_compare_file_data(output_file, golden_file); in control_thread_entry() 78 sprintf(golden_file + pathlen, "%s%s", relative_path, golden_bmp_file_aligned); in control_thread_entry() 80 status = gx_validation_compare_file_data(output_file, golden_file); in control_thread_entry()
|
D | validation_guix_utility_canvas_to_bmp_monochrome_no_output.c | 60 char golden_file[255]; in control_thread_entry() local 67 gx_validation_extract_path(__FILE__, golden_file, &pathlen); in control_thread_entry() 68 memcpy(output_file, golden_file, pathlen); in control_thread_entry() 70 sprintf(golden_file + pathlen, "%s%s", relative_path, golden_bmp_file); in control_thread_entry() 72 status = gx_validation_compare_file_data(output_file, golden_file); in control_thread_entry() 75 sprintf(golden_file + pathlen, "%s%s", relative_path, scroll_wheel_golden_bmp_file); in control_thread_entry() 77 status |= gx_validation_compare_file_data(output_file, golden_file); in control_thread_entry() 80 sprintf(golden_file + pathlen, "%s%s", relative_path, golden_bmp_file_aligned); in control_thread_entry() 82 status |= gx_validation_compare_file_data(output_file, golden_file); in control_thread_entry()
|
D | validation_guix_utility_canvas_to_bmp_1555xrgb_no_output.c | 58 char golden_file[255]; in control_thread_entry() local 65 gx_validation_extract_path(__FILE__, golden_file, &pathlen); in control_thread_entry() 66 memcpy(output_file, golden_file, pathlen); in control_thread_entry() 68 sprintf(golden_file + pathlen, "%s%s", relative_path, golden_bmp_file); in control_thread_entry() 70 status = gx_validation_compare_file_data(output_file, golden_file); in control_thread_entry() 73 sprintf(golden_file + pathlen, "%s%s", relative_path, scroll_wheel_golden_bmp_file); in control_thread_entry() 75 status |= gx_validation_compare_file_data(output_file, golden_file); in control_thread_entry()
|
D | validation_guix_utility_canvas_to_bmp_16bpp_no_output.c | 58 char golden_file[255]; in control_thread_entry() local 65 gx_validation_extract_path(__FILE__, golden_file, &pathlen); in control_thread_entry() 66 memcpy(output_file, golden_file, pathlen); in control_thread_entry() 68 sprintf(golden_file + pathlen, "%s%s", relative_path, golden_bmp_file); in control_thread_entry() 70 status = gx_validation_compare_file_data(output_file, golden_file); in control_thread_entry() 73 sprintf(golden_file + pathlen, "%s%s", relative_path, scroll_wheel_golden_bmp_file); in control_thread_entry() 75 status = gx_validation_compare_file_data(output_file, golden_file); in control_thread_entry()
|
D | validation_guix_utility_canvas_to_bmp_332rgb_no_output.c | 59 char golden_file[255]; in control_thread_entry() local 66 gx_validation_extract_path(__FILE__, golden_file, &pathlen); in control_thread_entry() 67 memcpy(output_file, golden_file, pathlen); in control_thread_entry() 69 sprintf(golden_file + pathlen, "%s%s", relative_path, golden_bmp_file); in control_thread_entry() 71 status = gx_validation_compare_file_data(output_file, golden_file); in control_thread_entry() 74 sprintf(golden_file + pathlen, "%s%s", relative_path, scroll_wheel_golden_bmp_file); in control_thread_entry() 76 status = gx_validation_compare_file_data(output_file, golden_file); in control_thread_entry()
|
D | validation_guix_utility_canvas_to_bmp_4444argb_no_output.c | 58 char golden_file[255]; in control_thread_entry() local 65 gx_validation_extract_path(__FILE__, golden_file, &pathlen); in control_thread_entry() 66 memcpy(output_file, golden_file, pathlen); in control_thread_entry() 68 sprintf(golden_file + pathlen, "%s%s", relative_path, golden_bmp_file); in control_thread_entry() 70 status = gx_validation_compare_file_data(output_file, golden_file); in control_thread_entry() 73 sprintf(golden_file + pathlen, "%s%s", relative_path, scroll_wheel_golden_bmp_file); in control_thread_entry() 75 status |= gx_validation_compare_file_data(output_file, golden_file); in control_thread_entry()
|
D | validation_guix_utility_canvas_to_bmp_8bit_palette_no_output.c | 59 char golden_file[255]; in control_thread_entry() local 66 gx_validation_extract_path(__FILE__, golden_file, &pathlen); in control_thread_entry() 67 memcpy(output_file, golden_file, pathlen); in control_thread_entry() 69 sprintf(golden_file + pathlen, "%s%s", relative_path, golden_bmp_file); in control_thread_entry() 71 status = gx_validation_compare_file_data(output_file, golden_file); in control_thread_entry() 74 sprintf(golden_file + pathlen, "%s%s", relative_path, scroll_wheel_golden_bmp_file); in control_thread_entry() 76 status = gx_validation_compare_file_data(output_file, golden_file); in control_thread_entry()
|
D | validation_guix_utility_canvas_to_bmp_32bpp_no_output.c | 58 char golden_file[255]; in control_thread_entry() local 65 gx_validation_extract_path(__FILE__, golden_file, &pathlen); in control_thread_entry() 66 memcpy(output_file, golden_file, pathlen); in control_thread_entry() 68 sprintf(golden_file + pathlen, "%s%s", relative_path, golden_bmp_file); in control_thread_entry() 70 status = gx_validation_compare_file_data(output_file, golden_file); in control_thread_entry() 73 sprintf(golden_file + pathlen, "%s%s", relative_path, scroll_wheel_golden_bmp_file); in control_thread_entry() 75 status |= gx_validation_compare_file_data(output_file, golden_file); in control_thread_entry()
|
/GUIX-v6.4.1/test/guix_studio_test/test_view/ |
D | test_utils.py | 254 golden_file = open(gen_golden_file_pathname, "a+") 256 golden_file.write("good_results = [\n") 259 golden_file.write(" 0, #test %d, comparing files\n" %(studio_test_index)) 264 golden_file = golden_file_path + file 266 if compare_func(output_file, golden_file) == False: 482 golden_file = open(gen_golden_file_pathname, "a+") 484 golden_file.write("good_results = [\n") 487 golden_file.write(" %#x, #test %d\n" %(result, studio_test_index)) 526 golden_file = open(gen_golden_file_pathname, "a+") 528 golden_file.write("good_results = [\n") [all …]
|