[PULL wayland] Sanity tests

Pekka Paalanen ppaalanen at gmail.com
Thu Apr 19 05:06:24 PDT 2012


I poked around in tests, and added support for tests that are supposed
to fail. Then I wrote some tests that check that the testing framework
does indeed work: a plain assert, and malloc leaks.

There are also some stylistic changes that can be dropped if you don't
like them.

The following changes since commit b7c7963f160f951fbc8ef10923a5264fec28cbd7:

  Fix printf format warnings (2012-04-17 15:02:15 -0400)

are available in the git repository at:
  git://git.collabora.co.uk/git/user/pq/wayland.git sanity-tests

Pekka Paalanen (5):
      tests: put common test source files in a variable
      tests: fail build if NDEBUG is defined
      tests: stylish test-runner.c
      tests: add support for tests expected to fail
      tests: add sanity-test

 tests/Makefile.am   |   16 +++++++++-----
 tests/sanity-test.c |   52 +++++++++++++++++++++++++++++++++++++++++++++++++++
 tests/test-runner.c |   25 ++++++++++++++++++-----
 tests/test-runner.h |   21 +++++++++++++++++--
 4 files changed, 99 insertions(+), 15 deletions(-)
 create mode 100644 tests/sanity-test.c


More information about the wayland-devel mailing list