| 23 | static void test_tagged_peg_parser(testing & t); |
| 24 | |
| 25 | int main(int argc, char * argv[]) { |
| 26 | testing t(std::cout); |
| 27 | if (argc >= 2) { |
| 28 | t.set_filter(argv[1]); |
| 29 | } |
| 30 | |
| 31 | const char * verbose = getenv("LLAMA_TEST_VERBOSE"); |
| 32 | if (verbose) { |
| 33 | t.verbose = std::string(verbose) == "1"; |
| 34 | } |
| 35 | |
| 36 | t.test("native", test_example_native); |
| 37 | t.test("qwen3 coder", test_example_qwen3_coder); |
| 38 | t.test("qwen3 non-coder", test_example_qwen3_non_coder); |
| 39 | t.test("comparison", test_command7_parser_compare); |
| 40 | t.test("prefix tool names", test_prefix_tool_names); |
| 41 | t.test("tagged peg parser", test_tagged_peg_parser); |
| 42 | |
| 43 | return t.summary(); |
| 44 | } |
| 45 | |
| 46 | static json create_tools() { |
| 47 | json tools = json::array(); |
nothing calls this directly
no test coverage detected