Lines Matching refs:test
47 ** menu_test_loop(test-structure, state, control-character)
49 ** This function implements the repeat test function.
53 struct test_list *test,
59 if ((test->flags & MENU_REP_MASK) && (augment_test != test)) {
61 p = (test->flags >> 8) & 15;
62 if ((test->flags & MENU_REP_MASK) == MENU_LM1) {
65 if ((test->flags & MENU_ONE_MASK) == MENU_ONE) {
68 if ((test->flags & MENU_LC_MASK) == MENU_lines) {
71 if ((test->flags & MENU_LC_MASK) == MENU_columns) {
76 augment_test = test;
80 if ((test->flags | *state) & MENU_CLEAR) {
83 if (line_count + test->lines_needed >= lines) {
87 if (test->test_procedure) {
91 can_test(test->caps_done, FLAG_TESTED);
92 can_test(test->caps_tested, FLAG_TESTED);
93 test->test_procedure(test, state, &nch);
95 if (test->sub_menu) {
97 menu_display(test->sub_menu, &nch);
164 ptextln(" r) repeat test");
165 ptextln(" s) skip to next test");
222 /* Run the standard test suite */
263 struct test_list *test,
269 if (test->caps_done) {
270 sprintf(done_message, "(%s) Done ", test->caps_done);
286 ** menu_clear_screen(test, state, ch)
292 struct test_list *test GCC_UNUSED,
300 ** menu_reset_init(test, state, ch)
306 struct test_list *test GCC_UNUSED,
315 ** subtest_menu(test, state, ch)
322 struct test_list *test,
329 for (mt = test; (mt->flags & MENU_LAST) == 0; mt++) {