aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Waern <david.waern@gmail.com>2008-04-12 19:37:06 +0000
committerDavid Waern <david.waern@gmail.com>2008-04-12 19:37:06 +0000
commit862dc7f1e8d2382cacc0559efd12e5f4c5037237 (patch)
tree18dea082d2fa1cc5d8fe64ad645dde81f274677e
parent6cc4c1a3e2105e6083c01802261583a84f48e418 (diff)
Update test README
-rw-r--r--tests/README11
1 files changed, 8 insertions, 3 deletions
diff --git a/tests/README b/tests/README
index b3080c74..fcaa3359 100644
--- a/tests/README
+++ b/tests/README
@@ -1,7 +1,12 @@
This is a little output test suit for Haddock. To add a test:
- 1 Create a module and add it to a new directory or an appropriate existing one
+ 1 Create a module in the "tests" directory
2 Run runtests.hs (giving it the lib dir to GHC).
- You should now have output/<dir>/<modulename>.html but the test will always
+ 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, you can copy <modulename>.html to <modulename>.html.ref
+ 3 To add reference output, do
+ runhaskell copy.hs <modulename>
+
+You can also do
+ runhaskell copy.hs
+to copy all output into reference files