Lines Matching defs:tests
62 register gfxtest_info *const tests)
70 * Construct the list of tests to be performed
72 tests->count = sizeof (ast_test_list) / sizeof (gfxtest_function);
73 tests->this_test_mask = (int *)malloc(sizeof (ast_mask_list));
74 tests->this_test_mesg = (int *)malloc(sizeof (ast_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 = ast_test_open;
87 memcpy(tests->this_test_mask, ast_mask_list, sizeof (ast_mask_list));
88 memcpy(tests->this_test_mesg, ast_mesg_list, sizeof (ast_mesg_list));
89 memcpy(tests->this_test_function, ast_test_list,
92 tests_info = tests;
100 register gfxtest_info *const tests)
104 gfx_vts_free_tests(tests);