[cairo] [PATCH 4/4] test: Document use of -k and CAIRO_TEST_TARGET to run test subsets

Bryce W. Harrington b.harrington at samsung.com
Thu Sep 12 15:55:02 PDT 2013

Signed-off-by: Bryce Harrington <b.harrington at samsung.com>
 test/README |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/test/README b/test/README
index bbb3596..3f19a5c 100644
--- a/test/README
+++ b/test/README
@@ -26,6 +26,12 @@ run all text related tests you can use:
     ./cairo-test-suite text
 Or if you want to check the current status of known failures:
     ./cairo-test-suite XFAIL
+Or to run a subset of tests, use the -k option to run only the tests
+that include the given keyword:
+    ./cairo-test-suite -k downscale
+The binary also permits controlling which backend is used via the
+CAIRO_TEST_TARGET environment variable, so for instance:
+    CAIRO_TEST_TARGET=gl ./cairo-test-suite -k blur
 This binary should be backwards-compatible with all library versions,
 allowing you to compare current versus past behaviour for any test.

More information about the cairo mailing list