summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2006-04-20 12:33:25 -0700
committerEric Anholt <anholt@FreeBSD.org>2006-04-20 12:33:25 -0700
commitc862f6285b868435a2780b07a602f57e810e1f96 (patch)
treee24077528a7c51a573afba04572e32a06cae977f
parentb26a0acd18aac615a2abc4df5adc888cb3e3714b (diff)
Add a short doc on the things to do when adding a new test. Move TODO into the
doc dir as well. Also, update README for the new tests.
-rw-r--r--Makefile.am3
-rw-r--r--README2
-rw-r--r--doc/AddingNewTests9
-rw-r--r--doc/TODO (renamed from TODO)0
4 files changed, 13 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index fc0d54d..9e2585f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -23,6 +23,7 @@ EXTRA_DIST = \
COPYING \
INSTALL \
README \
- TODO \
+ doc/AddingNewTests \
+ doc/TODO \
autogen.sh \
${man_MANS}
diff --git a/README b/README
index 1643001..5e49fcd 100644
--- a/README
+++ b/README
@@ -7,3 +7,5 @@ Tests currently include:
- Transformed (FilterNearest) source coordinates correctness.
- Composite with and without mask (with/without component alpha), with 1x1
repeating Pictures and 10x10 Pictures.
+- Linear gradients
+- Repeating sources/masks at POT and non-POT sizes
diff --git a/doc/AddingNewTests b/doc/AddingNewTests
new file mode 100644
index 0000000..08db332
--- /dev/null
+++ b/doc/AddingNewTests
@@ -0,0 +1,9 @@
+- Add your test to rendercheck.h TEST_*
+- Add command line option to main.c case 't'.
+- Add command line option to main.c usage()
+- Add your test loop to the bottom of begin_test(). Looping on ops and dests is
+ highly recommended.
+- Write your test in t_testname.c and add to Makefile.am, with prototype in
+ rendercheck.h
+- Add a note about your test to README
+- Be sure to include your MIT license boilerplate on the new file.
diff --git a/TODO b/doc/TODO
index e4e68cc..e4e68cc 100644
--- a/TODO
+++ b/doc/TODO