From 862dc7f1e8d2382cacc0559efd12e5f4c5037237 Mon Sep 17 00:00:00 2001 From: David Waern Date: Sat, 12 Apr 2008 19:37:06 +0000 Subject: Update test README --- tests/README | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'tests') 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//.html but the test will always + You should now have output/.html but the test will always pass since there is no reference output to compare with - 3 To add reference output, you can copy .html to .html.ref + 3 To add reference output, do + runhaskell copy.hs + +You can also do + runhaskell copy.hs +to copy all output into reference files -- cgit v1.2.3