diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-12-04 10:34:46 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-12-04 10:35:21 +0100 |
commit | df545c19689463a0f6f70fa4cc3f3dd3a1eabcdb (patch) | |
tree | c8a64e6bf0633c27575682cc4191fdd5304bbc47 /README | |
parent | 6daae8bcb6b4a930c9677f87fa24675581b69072 (diff) |
README: add quick howto for using piglit as testrunner
Diffstat (limited to 'README')
-rw-r--r-- | README | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -36,6 +36,30 @@ tests/ options to test different kms functionality, again read the source of the details. + The more comfortable way to run tests is with piglit. First grab piglit + from + + git://anongit.freedesktop.org/piglit + + and build it (no need to install anything). Then we need to link up the + i-g-t sources with piglit + + piglit-sources $ cd bin + piglit-sources/bin $ ln $i-g-t-sources igt -s + + The tests in the i-g-t sources need to have been built already. Then we + can run the testcases with (as usual as root, no other drm clients + running): + + piglit-sources # ./piglit-run.py tests/igt.tests + + The testlist is built at runtime, so no need to update anything in + piglit when adding new tests. See + + piglit-sources $ ./piglit-run.py -h + + for some useful options. + lib/ Common helper functions and headers used by the other tools. |