| 20 | static void test_command7_parser_compare(testing & t); |
| 21 | |
| 22 | int main(int argc, char *argv[]) { |
| 23 | testing t(std::cout); |
| 24 | if (argc >= 2) { |
| 25 | t.set_filter(argv[1]); |
| 26 | } |
| 27 | |
| 28 | const char * verbose = getenv("LLAMA_TEST_VERBOSE"); |
| 29 | if (verbose) { |
| 30 | t.verbose = std::string(verbose) == "1"; |
| 31 | } |
| 32 | |
| 33 | t.test("native", test_example_native); |
| 34 | t.test("qwen3 coder", test_example_qwen3_coder); |
| 35 | t.test("comparison", test_command7_parser_compare); |
| 36 | |
| 37 | return t.summary(); |
| 38 | } |
| 39 | |
| 40 | static json create_tools() { |
| 41 | json tools = json::array(); |
nothing calls this directly
no test coverage detected