Add test for pipeline request parsing bug
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user