diff options
author | David Waern <david.waern@gmail.com> | 2008-04-12 19:37:06 +0000 |
---|---|---|
committer | David Waern <david.waern@gmail.com> | 2008-04-12 19:37:06 +0000 |
commit | 862dc7f1e8d2382cacc0559efd12e5f4c5037237 (patch) | |
tree | 18dea082d2fa1cc5d8fe64ad645dde81f274677e | |
parent | 6cc4c1a3e2105e6083c01802261583a84f48e418 (diff) |
Update test README
-rw-r--r-- | tests/README | 11 |
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 |