| 388 | } |
| 389 | |
| 390 | int |
| 391 | main(int argc, const char **argv) |
| 392 | { |
| 393 | auto &version = AppVersionInfo::setup_version("test_HPACK"); |
| 394 | process_args(&version, argument_descriptions, countof(argument_descriptions), argv); |
| 395 | |
| 396 | ink_freelist_init_ops(cmd_disable_freelist, cmd_disable_pfreelist); |
| 397 | |
| 398 | if (*cmd_input_dir) { |
| 399 | input_dir = cmd_input_dir; |
| 400 | if (input_dir.back() != '/') { |
| 401 | input_dir += '/'; |
| 402 | } |
| 403 | } |
| 404 | if (*cmd_output_dir) { |
| 405 | output_dir = cmd_output_dir; |
| 406 | if (output_dir.back() != '/') { |
| 407 | output_dir += '/'; |
| 408 | } |
| 409 | } |
| 410 | |
| 411 | Thread *main_thread = new EThread; |
| 412 | main_thread->set_specific(); |
| 413 | url_init(); |
| 414 | mime_init(); |
| 415 | http_init(); |
| 416 | hpack_huffman_init(); |
| 417 | |
| 418 | prepare(); |
| 419 | int status = RegressionTest::main(argc, argv, REGRESSION_TEST_QUICK); |
| 420 | |
| 421 | hpack_huffman_fin(); |
| 422 | return status; |
| 423 | } |
nothing calls this directly
no test coverage detected