Lines Matching defs:tests
62 register gfxtest_info *const tests)
70 * Construct the list of tests to be performed
72 tests->count = sizeof (mga_test_list) / sizeof (gfxtest_function);
73 tests->this_test_mask = (int *)malloc(sizeof (mga_mask_list));
74 tests->this_test_mesg = (int *)malloc(sizeof (mga_mesg_list));
75 tests->this_test_function =
78 if ((tests->this_test_mask == NULL) ||
79 (tests->this_test_mesg == NULL) ||
80 (tests->this_test_function == NULL)) {
81 gfx_vts_free_tests(tests);
85 tests->connection_test_function = mga_test_open;
87 memcpy(tests->this_test_mask, mga_mask_list, sizeof (mga_mask_list));
88 memcpy(tests->this_test_mesg, mga_mesg_list, sizeof (mga_mesg_list));
89 memcpy(tests->this_test_function, mga_test_list,
92 tests_info = tests;
100 register gfxtest_info *const tests)
105 gfx_vts_free_tests(tests);