[PATCH 4/4] test: Document use of -k and CAIRO_TEST_TARGET to run test subsets
"Bryce W. Harrington" <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
Signed-off-by: Bryce Harrington <[email protected]> --- 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. -- 1.7.9.5 -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo