Lines Matching defs:tests
71 /* List of tests to invoke */
75 } tests[] = {
594 /* Perform tests and benchmarks for the specified cpu flag if supported by the host */
608 for (i = 0; tests[i].func; i++) {
609 if (state.test_name && strcmp(tests[i].name, state.test_name))
611 state.current_test_name = tests[i].name;
612 tests[i].func();
701 if (!tests[0].func || !cpus[0].flag) {
702 fprintf(stderr, "checkasm: no tests to perform\n");
735 fprintf(stderr, "checkasm: %d of %d tests have failed\n", state.num_failed, state.num_checked);
738 fprintf(stderr, "checkasm: all %d tests passed\n", state.num_checked);
832 /* Print the outcome of all tests performed since the last time this function was called */