5. Running All Tests

The testrun.sh script aims to run all tests automated in a standardised environment before producing a report summary. It performs the following:

  1. Starts Xnest and sets $DISPLAY to this server.

  2. Starts Matchbox optionally running under Valgrind.

  3. Sets the Matchbox theme via mbcontrol

  4. Runs each test, non-interactively

  5. Finally produces a simple report, commenting on how each test went.

The script reads parameters set in test.conf and runs all listed tests. You can specify particular tests to run and and specify an alternate configuration file to use. Run testrun.sh with '-h' to see how to set this.

To add a new test to be run, just name the new script test-XXXX.sh (where XXXX is anything you like) and add to tests directory.