> From: "satish kondapalli" <nitw.sat...@gmail.com> > To: ovs-discuss@openvswitch.org > Sent: Monday, December 5, 2016 7:17:36 PM > Subject: [ovs-discuss] Running ovs test cases > > Hi, > > is there way to run only specific test case in ovs( instead of running all > cases -- make check). How to run only connection tracking test case and logs > for the same test? > > Sateesh >
Sure, take a look at references to TESTSUITEFLAGS in INSTALL.rst (or INSTALL.md if you're on an older branch). For example, you can list all test cases with the keyword "conntrack" via: make check TESTSUITEFLAGS="-l -k conntrack" And you can execute them via: make check TESTSUITEFLAGS="-k conntrack" To execute one or more tests by number: make check TESTSUITEFLAGS="1,3,4-14" If you want to preserve logs for test cases that execute successfully, specifiy the "debug" flag, e.g.: make check TESTSUITEFLAGS="-k conntrack -d" If you're interested in testing data path support for conntrack, you might also be interested in the "check-kernel" and "check-system-userspace". Hope this helps, Lance targets. _______________________________________________ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss