summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
a1bd50c)
Type: docs
Change-Id: I3bd89feb53a35532c79283bcdac2c87635c60920
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
func (s *MySuite) SkipTest(){
func (s *MySuite) SkipTest(){
+**Debugging a test**
+
+It is possible to debug VPP by attaching ``gdb`` before test execution by adding ``DEBUG=true`` like follows:
+
+::
+
+ $ make test TEST=TestVeths/TestLDPreloadIperfVpp DEBUG=true
+ ...
+ run following command in different terminal:
+ docker exec -it server-vpp gdb -ex "attach $(docker exec server-vpp pidof vpp)"
+ Afterwards press CTRL+C to continue
+
+If a test consists of more VPP instances then this is done for each of them.
+
+
**Eternal dependencies**
* Linux tools ``ip``, ``brctl``
**Eternal dependencies**
* Linux tools ``ip``, ``brctl``