From e263685ac82454c39eee6e2a2146dd1e02d61de8 Mon Sep 17 00:00:00 2001 From: Klement Sekera Date: Tue, 16 Mar 2021 12:52:12 +0100 Subject: tests: support attaching to existing vpp Introduce a new option DEBUG=attach to run a test against existing already running vpp. A new target 'make test-start-gdb' will spawn VPP in gdb for this purpose. Customization options explained in test-help. Type: improvement Change-Id: Ia160a85b33da3b2df292d44bb95729af9dd9da96 Signed-off-by: Klement Sekera --- extras/deprecated/vom/test/test_vom.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extras/deprecated/vom') diff --git a/extras/deprecated/vom/test/test_vom.py b/extras/deprecated/vom/test/test_vom.py index 7dea7697f8c..a77b935263d 100644 --- a/extras/deprecated/vom/test/test_vom.py +++ b/extras/deprecated/vom/test/test_vom.py @@ -27,8 +27,8 @@ class VOMTestCase(VppTestCase): self.assertIsNotNone(built_root, "Environment variable `%s' not set" % var) executable = "%s/vom_test/vom_test" % built_root - worker = Worker( - [executable, "vpp object model", self.shm_prefix], self.logger) + worker = Worker([executable, "vpp object model", + self.get_api_segment_prefix()], self.logger) worker.start() timeout = 120 worker.join(timeout) -- cgit 1.2.3-korg