libxkbcommon/test
Ran Benita 4b49e0a117 Overhaul test suite
Rewrite all of the current tests in the following ways:
- Instead of the current mix of C and shell, just use single-process
  pure C file per test. All of the .sh files are removed, but everything
  that was tested is ported.
- Instead of handling the test logs ourselves, use Automake's
  "parallel-test" mechanism. This will create a single log file for each
  test with it's stdout+stderr, and a top level "test-suite.log" file
  for all the failed tests.
- The "parallel-tests" directive also makes the test run in parallel,
  so "make check" runs faster.
- Also use the "color-tests" directive to have the "make check" output
  colorized. Who doesn't like to see PASS in green?
- All of the test data files are moved into the test/data subdirectory.
  That way we can just put the directory in EXTRA_DIST and forget about
  it.
- The test/Makefile.am file is consolidated into the main Makefile.am,
  for a completely non-recursive build.

Right now the tests are completely independent and just use simple
assert()'s. More sophistication can be added as needed.

It should also be noted that it's still possible to use shell, python,
etc. if a test wants more flexibility than C can provide, just do as
before.

Signed-off-by: Ran Benita <ran234@gmail.com>

[daniels: Updated for xkb_keymap changes.]
2012-04-09 14:21:47 +01:00
..
data Overhaul test suite 2012-04-09 14:21:47 +01:00
.gitignore Add new context API 2012-03-27 16:59:01 +01:00
canonicalise.c Overhaul test suite 2012-04-09 14:21:47 +01:00
context.c Overhaul test suite 2012-04-09 14:21:47 +01:00
filecomp.c Overhaul test suite 2012-04-09 14:21:47 +01:00
filecomp.sh Rename keymap allocation API 2012-03-22 17:39:12 +00:00
namescomp.c Overhaul test suite 2012-04-09 14:21:47 +01:00
rulescomp.c Overhaul test suite 2012-04-09 14:21:47 +01:00
state.c Overhaul test suite 2012-04-09 14:21:47 +01:00
xkey.c Overhaul test suite 2012-04-09 14:21:47 +01:00