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>
This commit is contained in:

committed by
Ole Tr�an

parent
3ff6ffce03
commit
e263685ac8
@ -34,7 +34,7 @@ class StatsClientTestCase(VppTestCase):
|
||||
initial_fds = p.num_fds()
|
||||
|
||||
for _ in range(100):
|
||||
stats = VPPStats(socketname=cls.stats_sock)
|
||||
stats = VPPStats(socketname=cls.get_stats_sock_path())
|
||||
stats.disconnect()
|
||||
|
||||
ending_fds = p.num_fds()
|
||||
|
Reference in New Issue
Block a user