cmcfarlen commented on code in PR #10283:
URL: https://github.com/apache/trafficserver/pull/10283#discussion_r1308026639
##########
proxy/hdrs/CMakeLists.txt:
##########
@@ -46,3 +46,26 @@ target_link_libraries(hdrs
PRIVATE
ts::inkevent
)
+
+add_executable(test_proxy_hdrs
+ unit_tests/test_HdrHeap.cc
+ unit_tests/test_Hdrs.cc
+ unit_tests/test_HdrUtils.cc
+ unit_tests/test_HdrHeap.cc
+ unit_tests/test_HeaderValidator.cc
+ unit_tests/test_Huffmancode.cc
+ unit_tests/test_mime.cc
+ unit_tests/test_URL.cc
+ unit_tests/unit_test_main.cc
+)
+target_link_libraries(test_proxy_hdrs PRIVATE ts::hdrs ts::tscore ts::inkevent
catch::catch)
+add_test(NAME test_proxy_hdrs COMMAND $<TARGET_FILE:test_proxy_hdrs>)
Review Comment:
I don't think it is necessary but I was just following suit from other
invocations of `add_test`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]