[cairo-commit] cairo/test README,1.1,1.2
Carl Worth
commit at pdx.freedesktop.org
Tue Oct 26 16:31:38 PDT 2004
Committed by: cworth
Update of /cvs/cairo/cairo/test
In directory gabe:/tmp/cvs-serv14353/test
Modified Files:
README
Log Message:
* test/README: Add paragraph on new features.
Index: README
===================================================================
RCS file: /cvs/cairo/cairo/test/README,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- README 26 Oct 2004 21:38:43 -0000 1.1
+++ README 26 Oct 2004 23:31:36 -0000 1.2
@@ -39,9 +39,18 @@
Makefile.am should be edited, adding new_bug.c to both the TESTS and
XFAIL_TESTS lists.
+When a new feature is added
+---------------------------
+It's important for the regression suite to keep pace with development
+of the library. So a new test should be added for each new
+feature. 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.
+
+
When a bug is fixed
-------------------
-The fix shold be verified by running the test suite which should
+The fix should be verified by running the test suite which should
result in an "unexpected pass" for the test of interest. Rejoice as
appropriate, then remove the relevant file name from the XFAIL_TESTS
variable in Makefile.am.
More information about the cairo-commit
mailing list