summaryrefslogtreecommitdiffstats
path: root/test/test_vapi.py
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2021-05-25 21:15:36 +0200
committerOle Tr�an <otroan@employees.org>2022-01-31 14:58:19 +0000
commit3a1a86f87fd7d9c84ad4b12124c50fc3927ec6cf (patch)
tree3a4916b73fbbe7385f46558a27eaf1c427a106cf /test/test_vapi.py
parentc0a2f0ec9b2574441dd3280fe6ae25de5491f7a0 (diff)
tests: make VPP_BUILD_DIR to point to correct dir
Make VPP_BUILD_DIR hold the correct value and adjust paths where necessary. Type: refactor Change-Id: I5bc60666c04919956bf26badaf1ee1f1b188ef65 Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'test/test_vapi.py')
-rw-r--r--test/test_vapi.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_vapi.py b/test/test_vapi.py
index 9b4cad090a0..106c84a9bad 100644
--- a/test/test_vapi.py
+++ b/test/test_vapi.py
@@ -24,7 +24,7 @@ class VAPITestCase(VppTestCase):
build_dir = os.getenv(var, None)
self.assertIsNotNone(build_dir,
"Environment variable `%s' not set" % var)
- executable = f"{build_dir}/vpp/bin/vapi_c_test"
+ executable = f"{build_dir}/bin/vapi_c_test"
worker = Worker([executable, "vapi client",
self.get_api_segment_prefix()], self.logger)
worker.start()
@@ -53,7 +53,7 @@ class VAPITestCase(VppTestCase):
build_dir = os.getenv(var, None)
self.assertIsNotNone(build_dir,
"Environment variable `%s' not set" % var)
- executable = f"{build_dir}/vpp/bin/vapi_cpp_test"
+ executable = f"{build_dir}/bin/vapi_cpp_test"
worker = Worker([executable, "vapi client",
self.get_api_segment_prefix()], self.logger)
worker.start()