aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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