diff options
author | Adrian Villin <avillin@cisco.com> | 2024-06-19 06:20:00 -0400 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2024-06-19 16:14:12 +0000 |
commit | b4516bbccf1fb39fbe1e589296d1162e714862e9 (patch) | |
tree | 9eb2c585726fc23c3698d8760dab0cdbc5c5545f /extras/hs-test/ldp_test.go | |
parent | 05fbc3569c60c4b2420cb608756cf7ff582bbab2 (diff) |
hs-test: fix LDPreloadIperfVppTest
- fixed ldpreload path (debug build)
Type: test
Change-Id: Ib2ab58b32ffd87a78189464b599f7bbc4f05c175
Signed-off-by: Adrian Villin <avillin@cisco.com>
Diffstat (limited to 'extras/hs-test/ldp_test.go')
-rw-r--r-- | extras/hs-test/ldp_test.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/extras/hs-test/ldp_test.go b/extras/hs-test/ldp_test.go index fc195f1572a..53043aabaf2 100644 --- a/extras/hs-test/ldp_test.go +++ b/extras/hs-test/ldp_test.go @@ -14,6 +14,7 @@ func init() { func LDPreloadIperfVppTest(s *VethsSuite) { var clnVclConf, srvVclConf Stanza + var ldpreload string serverContainer := s.GetContainerByName("server-vpp") serverVclFileName := serverContainer.GetHostWorkDir() + "/vcl_srv.conf" @@ -21,7 +22,11 @@ func LDPreloadIperfVppTest(s *VethsSuite) { clientContainer := s.GetContainerByName("client-vpp") clientVclFileName := clientContainer.GetHostWorkDir() + "/vcl_cln.conf" - ldpreload := "LD_PRELOAD=../../build-root/build-vpp-native/vpp/lib/x86_64-linux-gnu/libvcl_ldpreload.so" + if *IsDebugBuild { + ldpreload = "LD_PRELOAD=../../build-root/build-vpp_debug-native/vpp/lib/x86_64-linux-gnu/libvcl_ldpreload.so" + } else { + ldpreload = "LD_PRELOAD=../../build-root/build-vpp-native/vpp/lib/x86_64-linux-gnu/libvcl_ldpreload.so" + } stopServerCh := make(chan struct{}, 1) srvCh := make(chan error, 1) |