aboutsummaryrefslogtreecommitdiffstats
path: root/test/sanity_run_vpp.py
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2021-03-16 12:52:12 +0100
committerOle Tr�an <otroan@employees.org>2021-04-12 10:11:36 +0000
commite263685ac82454c39eee6e2a2146dd1e02d61de8 (patch)
tree54110ae98ed5618a057859019d518ed35e76423a /test/sanity_run_vpp.py
parent3ff6ffce032544b4ffc3e42b5e069243681ae751 (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 'test/sanity_run_vpp.py')
-rw-r--r--test/sanity_run_vpp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/sanity_run_vpp.py b/test/sanity_run_vpp.py
index 5eb68853b1f..f91dc833eeb 100644
--- a/test/sanity_run_vpp.py
+++ b/test/sanity_run_vpp.py
@@ -43,8 +43,8 @@ if __name__ == '__main__':
y.close()
if rc == 0:
- print('Sanity test case passed.\n')
+ print('Sanity test case passed.')
else:
- print('Sanity test case failed.\n')
+ print('Sanity test case failed.')
sys.exit(rc)