diff options
author | Klement Sekera <ksekera@cisco.com> | 2021-03-16 12:52:12 +0100 |
---|---|---|
committer | Ole Tr�an <otroan@employees.org> | 2021-04-12 10:11:36 +0000 |
commit | e263685ac82454c39eee6e2a2146dd1e02d61de8 (patch) | |
tree | 54110ae98ed5618a057859019d518ed35e76423a /extras/deprecated/vom | |
parent | 3ff6ffce032544b4ffc3e42b5e069243681ae751 (diff) |
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 <ksekera@cisco.com>
Diffstat (limited to 'extras/deprecated/vom')
-rw-r--r-- | extras/deprecated/vom/test/test_vom.py | 4 |
1 files changed, 2 insertions, 2 deletions
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) |