Skip to content

mer-qa/blts-x11

Repository files navigation

Overview

This package contains several X11 functionality tests for generic
Linux-y mobile platforms.


Requirements

Running the tests in the package requires
  * linux >= 2.6.15
  * GNU libc >= 2.1
  * xlib

Building the package

The package should build cleanly with GCC 4.x with the mentioned libraries.
The preferred way is to use Autotools for configuration and makefile generation.
You'll also need the Check test framework (v. 0.9+) to run the unit tests
and use the provided Autoconf scripts.

The package builds (from the source tree root) with

 $ ./autogen.sh
 $ ./configure
 $ make

To build debian package

 $ dpkg-buildpackage -rfakeroot

Running the tests

 $ blts-x11-tests

To see other options for blts-x11-tests;
 $ blts-x11-tests -?
USAGE: ./blts-x11-tests [-l mylog.txt] [-e test1,test2...] [-en "my test"]
[-s] [-?] [-nc] [-t execution_time_in_seconds]
-l: Used log file, default blts_x11.txt
-e: Execute single or multiple selected tests, for example -e 1,4,5.
-en: Execute test by name, for example -en "My test X"
-s: Show list of all tests
-?: This message
-nc: Do not output log to terminal
-t: Maximum execution time of each test in seconds (default: 10s)

XRender benchmarks:
 $ blts-xrender-bench