Klement Sekera
f62ae1288a
refactor test framework
...
Change-Id: I31da3b1857b6399f9899276a2d99cdd19436296c
Signed-off-by: Klement Sekera <ksekera@cisco.com >
Signed-off-by: Matej Klotton <mklotton@cisco.com >
Signed-off-by: Jan Gelety <jgelety@cisco.com >
Signed-off-by: Juraj Sloboda <jsloboda@cisco.com >
2016-10-26 17:42:19 +02:00
Peter Ginchev
749294dfeb
Disable colored output for tests, when not tty
...
Change-Id: I73f01bd3a8e7caa00c75b845b9e61d3cb0f34877
Signed-off-by: Peter Ginchev <pginchev@cisco.com >
2016-10-25 13:34:06 +00:00
Pierre Pfister
f588f35d66
Test: Add test case for Load Balancer plugin
...
This adds a basic test for the four existing encap modes
for the load balancer plugin.
- ip4 over gre4
- ip4 over gre6
- ip6 over gre4
- ip6 over gre6
Apparently, scapy does not support GRE and IPv6 combinations.
Hence, those tests do send packets through VPP, but only
ip4 over gre4 output is actually parsed and verified.
Change-Id: I7cedb0f88fd0788ee51b1428ddf9cff7c037511f
Signed-off-by: Pierre Pfister <ppfister@cisco.com >
2016-10-10 21:05:14 +00:00
Pierre Pfister
cd8e318a76
Test Infra: Add plugin support
...
This patch adds plugin path to vpp commandline arguments
when 'make test' is run.
Hence, test cases can test plugins.
Change-Id: Ib90efa1f62e03b45b84533c49c7a5d040aa8cddf
Signed-off-by: Pierre Pfister <ppfister@cisco.com >
2016-10-07 21:34:59 +00:00
Klement Sekera
b80f9d1b73
don't require root privileges when running the tests
...
Change-Id: Ib67bf1a898e3c1e4038698f1cb068ae9099d7921
Signed-off-by: Klement Sekera <ksekera@cisco.com >
2016-10-05 16:43:25 +00:00
Damjan Marion
f56b77a076
test: new test infrastructure
...
Change-Id: I73ca19c431743f6b39669c583d9222a6559346ef
Signed-off-by: Jan Gelety <jgelety@cisco.com >
Signed-off-by: Juraj Sloboda <jsloboda@cisco.com >
Signed-off-by: Stefan Kobza <skobza@cisco.com >
Signed-off-by: Matej Klotton <mklotton@cisco.com >
Signed-off-by: Maciek Konstantynowicz <mkonstan@cisco.com >
Signed-off-by: Damjan Marion <damarion@cisco.com >
2016-10-03 19:58:19 +00:00
Damjan Marion
553d808fc4
Remove old test files
...
Make space for upcoming test framework.
Change-Id: I14da6cf95c645d8ee2b71579a658dc7ef3b9f027
Signed-off-by: Damjan Marion <damarion@cisco.com >
2016-10-03 10:44:12 +00:00
Damjan Marion
08ff7e00bf
Rename vpe binary name to avoid collision with latex
...
Change-Id: I34a46b9ebbc0e36486fbef528b34ea1c3be2e8be
Signed-off-by: Damjan Marion <damarion@cisco.com >
2016-01-20 16:33:01 +01:00
Stefan Kobza
b189933c39
Submit initial test framework skeleton.
...
Change-Id: I1c7cdbbf16c137a6739447d2776595725b798b54
Signed-off-by: Stefan Kobza <skobza@cisco.com >
2015-12-23 17:10:07 +01:00