Add test for pipeline request parsing bug

This commit is contained in:
2025-09-14 20:53:19 -04:00
parent f62770c4ab
commit 632113f792
3 changed files with 87 additions and 1 deletions

View File

@@ -207,6 +207,12 @@ add_executable(test_metric tests/test_metric.cpp)
target_link_libraries(test_metric doctest_impl weaseldb_sources_debug)
target_compile_options(test_metric PRIVATE -UNDEBUG)
# HTTP handler test
add_executable(test_http_handler tests/test_http_handler.cpp)
target_link_libraries(test_http_handler doctest_impl weaseldb_sources_debug)
target_compile_options(test_http_handler PRIVATE -UNDEBUG)
add_test(NAME test_http_handler COMMAND test_http_handler)
# Register with CTest
add_test(NAME metric_tests COMMAND test_metric)