unit-test: Add ovstest
authorAndy Zhou <azhou@nicira.com>
Sat, 29 Mar 2014 01:13:00 +0000 (18:13 -0700)
committerAndy Zhou <azhou@nicira.com>
Tue, 1 Apr 2014 02:06:56 +0000 (19:06 -0700)
commit3932d8db7556d2fe4088535443e172a461cc6e9e
tree1ec1a7c0d3885bd7fb878b4061d095ceca03a931
parentd4738446938f2cd12807f04d4e41564601af7636
unit-test: Add ovstest

Changing one of the files in the Open vSwitch ``lib'' directory
causes 43 binaries to be relinked, which takes a lot of time even with
parallel ``make''.  31 of those binaries are in the ``tests''
directory.  ovs-test attemps to combine most of those binaries into a
single test program that just takes a subcommand name as its first
command-line argument.

The following patch makes use of this infrastructure.

Signed-off-by: Andy Zhou <azhou@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
tests/automake.mk
tests/ovstest.c [new file with mode: 0644]
tests/ovstest.h [new file with mode: 0644]