aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDavid Waern <david.waern@gmail.com>2008-07-23 23:08:39 +0000
committerDavid Waern <david.waern@gmail.com>2008-07-23 23:08:39 +0000
commita13a4b66d5df5eb4e443d734feaa12f0a90d1783 (patch)
tree81fa11e4dcb13e56bb636258c8f6a5e5cde618e9 /tests
parentd5b50a7dd49f692f9acd3026d1183045d4099674 (diff)
Update tests/README
Diffstat (limited to 'tests')
-rw-r--r--tests/README10
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/README b/tests/README
index fcaa3359..51baa82d 100644
--- a/tests/README
+++ b/tests/README
@@ -1,12 +1,18 @@
This is a little output test suit for Haddock. To add a test:
1 Create a module in the "tests" directory
- 2 Run runtests.hs (giving it the lib dir to GHC).
+ 2 Run runtests.hs
You should now have output/<modulename>.html but the test will always
pass since there is no reference output to compare with
3 To add reference output, do
runhaskell copy.hs <modulename>
-You can also do
+Tips:
+
+You can do
runhaskell copy.hs
to copy all output into reference files
+
+You can do
+ runhaskell runtests.hs all
+to continue despite a failing test