You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2023/07/10 22:58:39 UTC
[trafficserver] 04/09: Build binary for chunked_encoding AuTest (#9966)
This is an automated email from the ASF dual-hosted git repository.
zwoop pushed a commit to branch NewAPIMetricsPOC
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit ae2040d7d8927a21d75ff3b44c2027628426b84b
Author: JosiahWI <41...@users.noreply.github.com>
AuthorDate: Fri Jul 7 13:41:59 2023 -0500
Build binary for chunked_encoding AuTest (#9966)
This builds the smuggle-client binary and places it in the source tree
for the AuTest to find.
---
tests/CMakeLists.txt | 1 +
tests/{ => gold_tests/chunked_encoding}/CMakeLists.txt | 11 +++++++++--
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 4ae1718625..9d7eab6c48 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -16,4 +16,5 @@
#######################
add_subdirectory(gold_tests/bigobj)
+add_subdirectory(gold_tests/chunked_encoding)
add_subdirectory(gold_tests/pluginTest/TSVConnFd)
diff --git a/tests/CMakeLists.txt b/tests/gold_tests/chunked_encoding/CMakeLists.txt
similarity index 78%
copy from tests/CMakeLists.txt
copy to tests/gold_tests/chunked_encoding/CMakeLists.txt
index 4ae1718625..386fce29fd 100644
--- a/tests/CMakeLists.txt
+++ b/tests/gold_tests/chunked_encoding/CMakeLists.txt
@@ -15,5 +15,12 @@
#
#######################
-add_subdirectory(gold_tests/bigobj)
-add_subdirectory(gold_tests/pluginTest/TSVConnFd)
+add_executable(smuggle-client smuggle-client.c)
+
+target_link_libraries(smuggle-client PRIVATE "${OPENSSL_SSL_LIBRARY}")
+
+set_property(
+ TARGET smuggle-client
+ PROPERTY RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
+)
+