Combine majority of stand alone test programs into a single executable, ovstest,
to improve linking speed. ovstest.h has some usage comments.

I have only coverted test-heap.c as an example usage. If this approach looks 
O.K.
We can apply to other programs.

Andy Zhou (2):
  unit-test: Add ovstest
  unit-test: merge test-heap into ovstest

 tests/automake.mk |   11 ++++--
 tests/heap.at     |    2 +-
 tests/ovstest.c   |  110 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 tests/ovstest.h   |   85 +++++++++++++++++++++++++++++++++++++++++
 tests/test-heap.c |   12 ++++--
 5 files changed, 211 insertions(+), 9 deletions(-)
 create mode 100644 tests/ovstest.c
 create mode 100644 tests/ovstest.h

-- 
1.7.9.5

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to