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

Sam Spilsbury smspillaz at gmail.com
Thu Sep 12 19:01:18 PDT 2013


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

>From the last series I moved vertex-clipping into src/ and built each object
twice.

Its not my preferred way of doing it, but we should probably figure out how
we're going to have the code split into libraries for testing purposes later.

Also renamed libshared_test to libshared-test

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

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

-- 
1.8.3.2



More information about the wayland-devel mailing list