Re: [ovs-dev] [ovs-tests] Questions about ovs tests

2017-08-08 Thread Mark Michelson
On Mon, Aug 7, 2017 at 9:04 PM Sam wrote: > Hi all, > > I'm working on ovs tests, and I want to add my test, so I have few > questions: > > 1. what testing frame work does ovs-tests use, as I have seen lots of *.at > file, lots of AT_*() macro. > OVS uses GNU AutoTest. You can read more about

Re: [ovs-dev] [ovs-tests] Questions about ovs tests

2017-08-07 Thread Sam
For example, in tests/dpif-netdev.at file, there are OVS_VSWITCHD_START( > [add-port br0 p1 -- set interface p1 type=dummy > options:pstream=punix:$OVS_RUNDIR/p0.sock ofport_request=1 -- \ >add-port br0 p7 -- set interface p7 ofport_request=7 type=dummy -- \ >add-br br1 -- \ >set bri

[ovs-dev] [ovs-tests] Questions about ovs tests

2017-08-07 Thread Sam
Hi all, I'm working on ovs tests, and I want to add my test, so I have few questions: 1. what testing frame work does ovs-tests use, as I have seen lots of *.at file, lots of AT_*() macro. 2. Will ovs-tests start ovs-vswitchd or ovsdb-server when running test by `make check` command? As if no vs