diff options
author | Brian Ewins <Brian.Ewins@gmail.com> | 2007-11-10 01:34:03 +0000 |
---|---|---|
committer | Brian Ewins <Brian.Ewins@gmail.com> | 2007-11-10 01:34:03 +0000 |
commit | 77e9b05b2b011ce964287ff493c2b421977107ee (patch) | |
tree | 8cf9c691b89cdc1475cc6d6749fcd7e714ad462b /test/README | |
parent | f8ee0cdf186bfb30bdeb487b63d42f274c1073ce (diff) |
[test] support using a previous build as a reference
Allow using a previous test output directory as a source of
reference images. To make use of this, set the environment
variable 'CAIRO_REF_DIR' to point at an old test directory,
relative to the current test directory.
This is useful for testing backends when reference images haven't
been created yet, or which the current reference image structure
can't accomodate, like multiple font backends.
Diffstat (limited to 'test/README')
-rw-r--r-- | test/README | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/README b/test/README index 90f02876..840e1add 100644 --- a/test/README +++ b/test/README @@ -69,6 +69,14 @@ The work involved is similar the work described above for new bugs. The only distinction is that the test is expected to pass so it should not be added to the XFAIL_TESTS list. +While working on a test +----------------------- +Before a bugfix or feature is ready, it may be useful to compare +output from different builds. For convenience, you can set +CAIRO_REF_DIR to point at a previous test directory, relative +to the current test directory, and any previous output will be +used by preference as reference images. + When a bug is fixed ------------------- |