[PATCH 0/4] Table driven tests for the vertex clipping code

Sam Spilsbury smspillaz at gmail.com
Wed Sep 11 06:27:17 PDT 2013


This is the third series of patches for adding table driven tests for
the vertex clipping code.

>From the last series I fixed some of the AM_LDFLAGS nightmare in tests/Makefile.am
so that we don't have to build libshared_test into a static library and
can instead use a libtool convenience library.

Sam Spilsbury (4):
  Remove AM_LDFLAGS usage
  Add support for table-driven testing.
  Split vertex clipping code out into vertex-clipping.c in shared/
  Added tests for the vertex clipping code.

 shared/Makefile.am         |   4 +-
 shared/vertex-clipping.c   | 317 +++++++++++++++++++++++++++++++++++++++++++++
 shared/vertex-clipping.h   |  65 ++++++++++
 src/gl-renderer.c          | 292 +----------------------------------------
 tests/Makefile.am          |  40 ++++--
 tests/vertex-clip-test.c   | 219 +++++++++++++++++++++++++++++++
 tests/weston-test-runner.c | 123 +++++++++++-------
 tests/weston-test-runner.h |  52 +++++---
 8 files changed, 749 insertions(+), 363 deletions(-)
 create mode 100644 shared/vertex-clipping.c
 create mode 100644 shared/vertex-clipping.h
 create mode 100644 tests/vertex-clip-test.c

-- 
1.8.3.2



More information about the wayland-devel mailing list