hsa: add http throughput test server app
[vpp.git] / src / plugins / hs_apps / CMakeLists.txt
index 3f410b7..aec322a 100644 (file)
@@ -19,7 +19,8 @@ add_vpp_plugin(hs_apps
   echo_client.c
   echo_server.c
   hs_apps.c
-  http_server.c
+  http_cli.c
+  http_tps.c
   proxy.c
 )
 
@@ -38,7 +39,6 @@ if(VPP_BUILD_HS_SAPI_APPS)
     sapi/vpp_echo_proto_udp.c
     LINK_LIBRARIES vlibmemoryclient svm vppinfra pthread m rt
     DEPENDS api_headers
-    NO_INSTALL
   )
 endif(VPP_BUILD_HS_SAPI_APPS)
 
@@ -48,8 +48,6 @@ endif(VPP_BUILD_HS_SAPI_APPS)
 option(VPP_BUILD_VCL_TESTS "Build vcl tests." ON)
 if(VPP_BUILD_VCL_TESTS)
   foreach(test
-    vcl_test_server
-    vcl_test_client
     sock_test_server
     sock_test_client
   )
@@ -59,4 +57,17 @@ if(VPP_BUILD_VCL_TESTS)
       NO_INSTALL
     )
   endforeach()
+
+  foreach(test
+    vcl_test_server
+    vcl_test_client
+  )
+    add_vpp_executable(${test}
+      SOURCES
+      "vcl/${test}.c"
+      vcl/vcl_test_protos.c
+      LINK_LIBRARIES vppcom pthread
+      NO_INSTALL
+    )
+  endforeach()
 endif(VPP_BUILD_VCL_TESTS)