aboutsummaryrefslogtreecommitdiff
path: root/html-test
diff options
context:
space:
mode:
authorSimon Hengel <sol@typeful.net>2012-10-15 10:41:29 +0200
committerSimon Hengel <sol@typeful.net>2012-10-15 19:32:42 +0200
commitf21570e5526ce564ac8abeff5310cf753f86ffb8 (patch)
tree839b107e49337fc613c0798fec04ccddb6a65e9e /html-test
parent958d64d77572c47d249965d7146ac17a23de806d (diff)
Move HTML reference renderings to /html-test/ref/
Diffstat (limited to 'html-test')
-rw-r--r--html-test/accept.hs2
-rw-r--r--html-test/ref/A.html (renamed from html-test/tests/A.html.ref)0
-rw-r--r--html-test/ref/AdvanceTypes.html (renamed from html-test/tests/AdvanceTypes.html.ref)0
-rw-r--r--html-test/ref/B.html (renamed from html-test/tests/B.html.ref)0
-rw-r--r--html-test/ref/Bug1.html (renamed from html-test/tests/Bug1.html.ref)0
-rw-r--r--html-test/ref/Bug2.html (renamed from html-test/tests/Bug2.html.ref)0
-rw-r--r--html-test/ref/Bug3.html (renamed from html-test/tests/Bug3.html.ref)0
-rw-r--r--html-test/ref/Bug4.html (renamed from html-test/tests/Bug4.html.ref)0
-rw-r--r--html-test/ref/Bug6.html (renamed from html-test/tests/Bug6.html.ref)0
-rw-r--r--html-test/ref/Bug7.html (renamed from html-test/tests/Bug7.html.ref)0
-rw-r--r--html-test/ref/Bug8.html (renamed from html-test/tests/Bug8.html.ref)0
-rw-r--r--html-test/ref/BugDeprecated.html (renamed from html-test/tests/BugDeprecated.html.ref)0
-rw-r--r--html-test/ref/BugExportHeadings.html (renamed from html-test/tests/BugExportHeadings.html.ref)0
-rw-r--r--html-test/ref/Bugs.html (renamed from html-test/tests/Bugs.html.ref)0
-rw-r--r--html-test/ref/CrossPackageDocs.html (renamed from html-test/tests/CrossPackageDocs.html.ref)0
-rw-r--r--html-test/ref/DeprecatedClass.html (renamed from html-test/tests/DeprecatedClass.html.ref)0
-rw-r--r--html-test/ref/DeprecatedData.html (renamed from html-test/tests/DeprecatedData.html.ref)0
-rw-r--r--html-test/ref/DeprecatedFunction.html (renamed from html-test/tests/DeprecatedFunction.html.ref)0
-rw-r--r--html-test/ref/DeprecatedFunction2.html (renamed from html-test/tests/DeprecatedFunction2.html.ref)0
-rw-r--r--html-test/ref/DeprecatedFunction3.html (renamed from html-test/tests/DeprecatedFunction3.html.ref)0
-rw-r--r--html-test/ref/DeprecatedModule.html (renamed from html-test/tests/DeprecatedModule.html.ref)0
-rw-r--r--html-test/ref/DeprecatedModule2.html (renamed from html-test/tests/DeprecatedModule2.html.ref)0
-rw-r--r--html-test/ref/DeprecatedNewtype.html (renamed from html-test/tests/DeprecatedNewtype.html.ref)0
-rw-r--r--html-test/ref/DeprecatedReExport.html (renamed from html-test/tests/DeprecatedReExport.html.ref)0
-rw-r--r--html-test/ref/DeprecatedRecord.html (renamed from html-test/tests/DeprecatedRecord.html.ref)0
-rw-r--r--html-test/ref/DeprecatedTypeFamily.html (renamed from html-test/tests/DeprecatedTypeFamily.html.ref)0
-rw-r--r--html-test/ref/DeprecatedTypeSynonym.html (renamed from html-test/tests/DeprecatedTypeSynonym.html.ref)0
-rw-r--r--html-test/ref/DeprecationMessageParseError.html (renamed from html-test/tests/DeprecationMessageParseError.html.ref)0
-rw-r--r--html-test/ref/Examples.html (renamed from html-test/tests/Examples.html.ref)0
-rw-r--r--html-test/ref/FunArgs.html (renamed from html-test/tests/FunArgs.html.ref)0
-rw-r--r--html-test/ref/GADTRecords.html (renamed from html-test/tests/GADTRecords.html.ref)0
-rw-r--r--html-test/ref/Hash.html (renamed from html-test/tests/Hash.html.ref)0
-rw-r--r--html-test/ref/HiddenInstances.html (renamed from html-test/tests/HiddenInstances.html.ref)0
-rw-r--r--html-test/ref/HiddenInstancesB.html (renamed from html-test/tests/HiddenInstancesB.html.ref)0
-rw-r--r--html-test/ref/Hyperlinks.html (renamed from html-test/tests/Hyperlinks.html.ref)0
-rw-r--r--html-test/ref/IgnoreExports.html (renamed from html-test/tests/IgnoreExports.html.ref)0
-rw-r--r--html-test/ref/ModuleWithWarning.html (renamed from html-test/tests/ModuleWithWarning.html.ref)0
-rw-r--r--html-test/ref/NamedDoc.html (renamed from html-test/tests/NamedDoc.html.ref)0
-rw-r--r--html-test/ref/NoLayout.html (renamed from html-test/tests/NoLayout.html.ref)0
-rw-r--r--html-test/ref/NonGreedy.html (renamed from html-test/tests/NonGreedy.html.ref)0
-rw-r--r--html-test/ref/Properties.html (renamed from html-test/tests/Properties.html.ref)0
-rw-r--r--html-test/ref/PruneWithWarning.html (renamed from html-test/tests/PruneWithWarning.html.ref)0
-rw-r--r--html-test/ref/QuasiExpr.html (renamed from html-test/tests/QuasiExpr.html.ref)0
-rw-r--r--html-test/ref/QuasiQuote.html (renamed from html-test/tests/QuasiQuote.html.ref)0
-rw-r--r--html-test/ref/TH.html (renamed from html-test/tests/TH.html.ref)0
-rw-r--r--html-test/ref/TH2.html (renamed from html-test/tests/TH2.html.ref)0
-rw-r--r--html-test/ref/Test.html (renamed from html-test/tests/Test.html.ref)0
-rw-r--r--html-test/ref/Ticket112.html (renamed from html-test/tests/Ticket112.html.ref)0
-rw-r--r--html-test/ref/Ticket61.html (renamed from html-test/tests/Ticket61.html.ref)0
-rw-r--r--html-test/ref/Ticket75.html (renamed from html-test/tests/Ticket75.html.ref)0
-rw-r--r--html-test/ref/TypeFamilies.html (renamed from html-test/tests/TypeFamilies.html.ref)0
-rw-r--r--html-test/ref/TypeOperators.html (renamed from html-test/tests/TypeOperators.html.ref)0
-rw-r--r--html-test/ref/Unicode.html (renamed from html-test/tests/Unicode.html.ref)0
-rw-r--r--html-test/ref/Visible.html (renamed from html-test/tests/Visible.html.ref)0
-rw-r--r--html-test/ref/frames.html (renamed from html-test/tests/frames.html.ref)0
-rw-r--r--html-test/ref/mini_A.html (renamed from html-test/tests/mini_A.html.ref)0
-rw-r--r--html-test/ref/mini_AdvanceTypes.html (renamed from html-test/tests/mini_AdvanceTypes.html.ref)0
-rw-r--r--html-test/ref/mini_B.html (renamed from html-test/tests/mini_B.html.ref)0
-rw-r--r--html-test/ref/mini_Bug1.html (renamed from html-test/tests/mini_Bug1.html.ref)0
-rw-r--r--html-test/ref/mini_Bug2.html (renamed from html-test/tests/mini_Bug2.html.ref)0
-rw-r--r--html-test/ref/mini_Bug3.html (renamed from html-test/tests/mini_Bug3.html.ref)0
-rw-r--r--html-test/ref/mini_Bug4.html (renamed from html-test/tests/mini_Bug4.html.ref)0
-rw-r--r--html-test/ref/mini_Bug6.html (renamed from html-test/tests/mini_Bug6.html.ref)0
-rw-r--r--html-test/ref/mini_Bug7.html (renamed from html-test/tests/mini_Bug7.html.ref)0
-rw-r--r--html-test/ref/mini_Bug8.html (renamed from html-test/tests/mini_Bug8.html.ref)0
-rw-r--r--html-test/ref/mini_BugDeprecated.html (renamed from html-test/tests/mini_BugDeprecated.html.ref)0
-rw-r--r--html-test/ref/mini_BugExportHeadings.html (renamed from html-test/tests/mini_BugExportHeadings.html.ref)0
-rw-r--r--html-test/ref/mini_Bugs.html (renamed from html-test/tests/mini_Bugs.html.ref)0
-rw-r--r--html-test/ref/mini_CrossPackageDocs.html (renamed from html-test/tests/mini_CrossPackageDocs.html.ref)0
-rw-r--r--html-test/ref/mini_DeprecatedClass.html (renamed from html-test/tests/mini_DeprecatedClass.html.ref)0
-rw-r--r--html-test/ref/mini_DeprecatedData.html (renamed from html-test/tests/mini_DeprecatedData.html.ref)0
-rw-r--r--html-test/ref/mini_DeprecatedFunction.html (renamed from html-test/tests/mini_DeprecatedFunction.html.ref)0
-rw-r--r--html-test/ref/mini_DeprecatedFunction2.html (renamed from html-test/tests/mini_DeprecatedFunction2.html.ref)0
-rw-r--r--html-test/ref/mini_DeprecatedFunction3.html (renamed from html-test/tests/mini_DeprecatedFunction3.html.ref)0
-rw-r--r--html-test/ref/mini_DeprecatedModule.html (renamed from html-test/tests/mini_DeprecatedModule.html.ref)0
-rw-r--r--html-test/ref/mini_DeprecatedModule2.html (renamed from html-test/tests/mini_DeprecatedModule2.html.ref)0
-rw-r--r--html-test/ref/mini_DeprecatedNewtype.html (renamed from html-test/tests/mini_DeprecatedNewtype.html.ref)0
-rw-r--r--html-test/ref/mini_DeprecatedReExport.html (renamed from html-test/tests/mini_DeprecatedReExport.html.ref)0
-rw-r--r--html-test/ref/mini_DeprecatedRecord.html (renamed from html-test/tests/mini_DeprecatedRecord.html.ref)0
-rw-r--r--html-test/ref/mini_DeprecatedTypeFamily.html (renamed from html-test/tests/mini_DeprecatedTypeFamily.html.ref)0
-rw-r--r--html-test/ref/mini_DeprecatedTypeSynonym.html (renamed from html-test/tests/mini_DeprecatedTypeSynonym.html.ref)0
-rw-r--r--html-test/ref/mini_DeprecationMessageParseError.html (renamed from html-test/tests/mini_DeprecationMessageParseError.html.ref)0
-rw-r--r--html-test/ref/mini_Examples.html (renamed from html-test/tests/mini_Examples.html.ref)0
-rw-r--r--html-test/ref/mini_FunArgs.html (renamed from html-test/tests/mini_FunArgs.html.ref)0
-rw-r--r--html-test/ref/mini_GADTRecords.html (renamed from html-test/tests/mini_GADTRecords.html.ref)0
-rw-r--r--html-test/ref/mini_Hash.html (renamed from html-test/tests/mini_Hash.html.ref)0
-rw-r--r--html-test/ref/mini_HiddenInstances.html (renamed from html-test/tests/mini_HiddenInstances.html.ref)0
-rw-r--r--html-test/ref/mini_HiddenInstancesB.html (renamed from html-test/tests/mini_HiddenInstancesB.html.ref)0
-rw-r--r--html-test/ref/mini_Hyperlinks.html (renamed from html-test/tests/mini_Hyperlinks.html.ref)0
-rw-r--r--html-test/ref/mini_IgnoreExports.html (renamed from html-test/tests/mini_IgnoreExports.html.ref)0
-rw-r--r--html-test/ref/mini_ModuleWithWarning.html (renamed from html-test/tests/mini_ModuleWithWarning.html.ref)0
-rw-r--r--html-test/ref/mini_NamedDoc.html (renamed from html-test/tests/mini_NamedDoc.html.ref)0
-rw-r--r--html-test/ref/mini_NoLayout.html (renamed from html-test/tests/mini_NoLayout.html.ref)0
-rw-r--r--html-test/ref/mini_NonGreedy.html (renamed from html-test/tests/mini_NonGreedy.html.ref)0
-rw-r--r--html-test/ref/mini_Properties.html (renamed from html-test/tests/mini_Properties.html.ref)0
-rw-r--r--html-test/ref/mini_PruneWithWarning.html (renamed from html-test/tests/mini_PruneWithWarning.html.ref)0
-rw-r--r--html-test/ref/mini_QuasiExpr.html (renamed from html-test/tests/mini_QuasiExpr.html.ref)0
-rw-r--r--html-test/ref/mini_QuasiQuote.html (renamed from html-test/tests/mini_QuasiQuote.html.ref)0
-rw-r--r--html-test/ref/mini_TH.html (renamed from html-test/tests/mini_TH.html.ref)0
-rw-r--r--html-test/ref/mini_TH2.html (renamed from html-test/tests/mini_TH2.html.ref)0
-rw-r--r--html-test/ref/mini_Test.html (renamed from html-test/tests/mini_Test.html.ref)0
-rw-r--r--html-test/ref/mini_Ticket112.html (renamed from html-test/tests/mini_Ticket112.html.ref)0
-rw-r--r--html-test/ref/mini_Ticket61.html (renamed from html-test/tests/mini_Ticket61.html.ref)0
-rw-r--r--html-test/ref/mini_Ticket75.html (renamed from html-test/tests/mini_Ticket75.html.ref)0
-rw-r--r--html-test/ref/mini_TypeFamilies.html (renamed from html-test/tests/mini_TypeFamilies.html.ref)0
-rw-r--r--html-test/ref/mini_TypeOperators.html (renamed from html-test/tests/mini_TypeOperators.html.ref)0
-rw-r--r--html-test/ref/mini_Unicode.html (renamed from html-test/tests/mini_Unicode.html.ref)0
-rw-r--r--html-test/ref/mini_Visible.html (renamed from html-test/tests/mini_Visible.html.ref)0
-rw-r--r--html-test/runtests.hs8
109 files changed, 5 insertions, 5 deletions
diff --git a/html-test/accept.hs b/html-test/accept.hs
index 45b32078..82eb3c65 100644
--- a/html-test/accept.hs
+++ b/html-test/accept.hs
@@ -26,7 +26,7 @@ main = do
copy file = do
- let new = "tests" </> takeFileName file <.> ".ref"
+ let new = "ref" </> takeFileName file
print file
print new
contents <- readFile file
diff --git a/html-test/tests/A.html.ref b/html-test/ref/A.html
index 328fec02..328fec02 100644
--- a/html-test/tests/A.html.ref
+++ b/html-test/ref/A.html
diff --git a/html-test/tests/AdvanceTypes.html.ref b/html-test/ref/AdvanceTypes.html
index bac545be..bac545be 100644
--- a/html-test/tests/AdvanceTypes.html.ref
+++ b/html-test/ref/AdvanceTypes.html
diff --git a/html-test/tests/B.html.ref b/html-test/ref/B.html
index 410bc75b..410bc75b 100644
--- a/html-test/tests/B.html.ref
+++ b/html-test/ref/B.html
diff --git a/html-test/tests/Bug1.html.ref b/html-test/ref/Bug1.html
index f8a86948..f8a86948 100644
--- a/html-test/tests/Bug1.html.ref
+++ b/html-test/ref/Bug1.html
diff --git a/html-test/tests/Bug2.html.ref b/html-test/ref/Bug2.html
index 813035a6..813035a6 100644
--- a/html-test/tests/Bug2.html.ref
+++ b/html-test/ref/Bug2.html
diff --git a/html-test/tests/Bug3.html.ref b/html-test/ref/Bug3.html
index 76d4e730..76d4e730 100644
--- a/html-test/tests/Bug3.html.ref
+++ b/html-test/ref/Bug3.html
diff --git a/html-test/tests/Bug4.html.ref b/html-test/ref/Bug4.html
index 9e852978..9e852978 100644
--- a/html-test/tests/Bug4.html.ref
+++ b/html-test/ref/Bug4.html
diff --git a/html-test/tests/Bug6.html.ref b/html-test/ref/Bug6.html
index 606e45e3..606e45e3 100644
--- a/html-test/tests/Bug6.html.ref
+++ b/html-test/ref/Bug6.html
diff --git a/html-test/tests/Bug7.html.ref b/html-test/ref/Bug7.html
index 8ac72b16..8ac72b16 100644
--- a/html-test/tests/Bug7.html.ref
+++ b/html-test/ref/Bug7.html
diff --git a/html-test/tests/Bug8.html.ref b/html-test/ref/Bug8.html
index 469151f1..469151f1 100644
--- a/html-test/tests/Bug8.html.ref
+++ b/html-test/ref/Bug8.html
diff --git a/html-test/tests/BugDeprecated.html.ref b/html-test/ref/BugDeprecated.html
index 913b189d..913b189d 100644
--- a/html-test/tests/BugDeprecated.html.ref
+++ b/html-test/ref/BugDeprecated.html
diff --git a/html-test/tests/BugExportHeadings.html.ref b/html-test/ref/BugExportHeadings.html
index 457e2c50..457e2c50 100644
--- a/html-test/tests/BugExportHeadings.html.ref
+++ b/html-test/ref/BugExportHeadings.html
diff --git a/html-test/tests/Bugs.html.ref b/html-test/ref/Bugs.html
index c5a4ca9d..c5a4ca9d 100644
--- a/html-test/tests/Bugs.html.ref
+++ b/html-test/ref/Bugs.html
diff --git a/html-test/tests/CrossPackageDocs.html.ref b/html-test/ref/CrossPackageDocs.html
index fea3d0cc..fea3d0cc 100644
--- a/html-test/tests/CrossPackageDocs.html.ref
+++ b/html-test/ref/CrossPackageDocs.html
diff --git a/html-test/tests/DeprecatedClass.html.ref b/html-test/ref/DeprecatedClass.html
index d716c1d8..d716c1d8 100644
--- a/html-test/tests/DeprecatedClass.html.ref
+++ b/html-test/ref/DeprecatedClass.html
diff --git a/html-test/tests/DeprecatedData.html.ref b/html-test/ref/DeprecatedData.html
index 24758345..24758345 100644
--- a/html-test/tests/DeprecatedData.html.ref
+++ b/html-test/ref/DeprecatedData.html
diff --git a/html-test/tests/DeprecatedFunction.html.ref b/html-test/ref/DeprecatedFunction.html
index 1fc678bb..1fc678bb 100644
--- a/html-test/tests/DeprecatedFunction.html.ref
+++ b/html-test/ref/DeprecatedFunction.html
diff --git a/html-test/tests/DeprecatedFunction2.html.ref b/html-test/ref/DeprecatedFunction2.html
index b5068c8e..b5068c8e 100644
--- a/html-test/tests/DeprecatedFunction2.html.ref
+++ b/html-test/ref/DeprecatedFunction2.html
diff --git a/html-test/tests/DeprecatedFunction3.html.ref b/html-test/ref/DeprecatedFunction3.html
index f24eb666..f24eb666 100644
--- a/html-test/tests/DeprecatedFunction3.html.ref
+++ b/html-test/ref/DeprecatedFunction3.html
diff --git a/html-test/tests/DeprecatedModule.html.ref b/html-test/ref/DeprecatedModule.html
index 0ca4fafe..0ca4fafe 100644
--- a/html-test/tests/DeprecatedModule.html.ref
+++ b/html-test/ref/DeprecatedModule.html
diff --git a/html-test/tests/DeprecatedModule2.html.ref b/html-test/ref/DeprecatedModule2.html
index 0a313ae9..0a313ae9 100644
--- a/html-test/tests/DeprecatedModule2.html.ref
+++ b/html-test/ref/DeprecatedModule2.html
diff --git a/html-test/tests/DeprecatedNewtype.html.ref b/html-test/ref/DeprecatedNewtype.html
index 521ffb92..521ffb92 100644
--- a/html-test/tests/DeprecatedNewtype.html.ref
+++ b/html-test/ref/DeprecatedNewtype.html
diff --git a/html-test/tests/DeprecatedReExport.html.ref b/html-test/ref/DeprecatedReExport.html
index 611c181d..611c181d 100644
--- a/html-test/tests/DeprecatedReExport.html.ref
+++ b/html-test/ref/DeprecatedReExport.html
diff --git a/html-test/tests/DeprecatedRecord.html.ref b/html-test/ref/DeprecatedRecord.html
index 9ade8377..9ade8377 100644
--- a/html-test/tests/DeprecatedRecord.html.ref
+++ b/html-test/ref/DeprecatedRecord.html
diff --git a/html-test/tests/DeprecatedTypeFamily.html.ref b/html-test/ref/DeprecatedTypeFamily.html
index ffc069a6..ffc069a6 100644
--- a/html-test/tests/DeprecatedTypeFamily.html.ref
+++ b/html-test/ref/DeprecatedTypeFamily.html
diff --git a/html-test/tests/DeprecatedTypeSynonym.html.ref b/html-test/ref/DeprecatedTypeSynonym.html
index 665dcf5d..665dcf5d 100644
--- a/html-test/tests/DeprecatedTypeSynonym.html.ref
+++ b/html-test/ref/DeprecatedTypeSynonym.html
diff --git a/html-test/tests/DeprecationMessageParseError.html.ref b/html-test/ref/DeprecationMessageParseError.html
index 75f9bf54..75f9bf54 100644
--- a/html-test/tests/DeprecationMessageParseError.html.ref
+++ b/html-test/ref/DeprecationMessageParseError.html
diff --git a/html-test/tests/Examples.html.ref b/html-test/ref/Examples.html
index 7ebe7770..7ebe7770 100644
--- a/html-test/tests/Examples.html.ref
+++ b/html-test/ref/Examples.html
diff --git a/html-test/tests/FunArgs.html.ref b/html-test/ref/FunArgs.html
index 6c87d1e6..6c87d1e6 100644
--- a/html-test/tests/FunArgs.html.ref
+++ b/html-test/ref/FunArgs.html
diff --git a/html-test/tests/GADTRecords.html.ref b/html-test/ref/GADTRecords.html
index e3fcd2fe..e3fcd2fe 100644
--- a/html-test/tests/GADTRecords.html.ref
+++ b/html-test/ref/GADTRecords.html
diff --git a/html-test/tests/Hash.html.ref b/html-test/ref/Hash.html
index b0cd183c..b0cd183c 100644
--- a/html-test/tests/Hash.html.ref
+++ b/html-test/ref/Hash.html
diff --git a/html-test/tests/HiddenInstances.html.ref b/html-test/ref/HiddenInstances.html
index 999c114d..999c114d 100644
--- a/html-test/tests/HiddenInstances.html.ref
+++ b/html-test/ref/HiddenInstances.html
diff --git a/html-test/tests/HiddenInstancesB.html.ref b/html-test/ref/HiddenInstancesB.html
index 207a5146..207a5146 100644
--- a/html-test/tests/HiddenInstancesB.html.ref
+++ b/html-test/ref/HiddenInstancesB.html
diff --git a/html-test/tests/Hyperlinks.html.ref b/html-test/ref/Hyperlinks.html
index e7351a63..e7351a63 100644
--- a/html-test/tests/Hyperlinks.html.ref
+++ b/html-test/ref/Hyperlinks.html
diff --git a/html-test/tests/IgnoreExports.html.ref b/html-test/ref/IgnoreExports.html
index c661b48c..c661b48c 100644
--- a/html-test/tests/IgnoreExports.html.ref
+++ b/html-test/ref/IgnoreExports.html
diff --git a/html-test/tests/ModuleWithWarning.html.ref b/html-test/ref/ModuleWithWarning.html
index 348f0822..348f0822 100644
--- a/html-test/tests/ModuleWithWarning.html.ref
+++ b/html-test/ref/ModuleWithWarning.html
diff --git a/html-test/tests/NamedDoc.html.ref b/html-test/ref/NamedDoc.html
index d2b8ede1..d2b8ede1 100644
--- a/html-test/tests/NamedDoc.html.ref
+++ b/html-test/ref/NamedDoc.html
diff --git a/html-test/tests/NoLayout.html.ref b/html-test/ref/NoLayout.html
index 871add05..871add05 100644
--- a/html-test/tests/NoLayout.html.ref
+++ b/html-test/ref/NoLayout.html
diff --git a/html-test/tests/NonGreedy.html.ref b/html-test/ref/NonGreedy.html
index 23d3f695..23d3f695 100644
--- a/html-test/tests/NonGreedy.html.ref
+++ b/html-test/ref/NonGreedy.html
diff --git a/html-test/tests/Properties.html.ref b/html-test/ref/Properties.html
index 1c4ce893..1c4ce893 100644
--- a/html-test/tests/Properties.html.ref
+++ b/html-test/ref/Properties.html
diff --git a/html-test/tests/PruneWithWarning.html.ref b/html-test/ref/PruneWithWarning.html
index 3c31fbdf..3c31fbdf 100644
--- a/html-test/tests/PruneWithWarning.html.ref
+++ b/html-test/ref/PruneWithWarning.html
diff --git a/html-test/tests/QuasiExpr.html.ref b/html-test/ref/QuasiExpr.html
index 0a699f35..0a699f35 100644
--- a/html-test/tests/QuasiExpr.html.ref
+++ b/html-test/ref/QuasiExpr.html
diff --git a/html-test/tests/QuasiQuote.html.ref b/html-test/ref/QuasiQuote.html
index f61f2b84..f61f2b84 100644
--- a/html-test/tests/QuasiQuote.html.ref
+++ b/html-test/ref/QuasiQuote.html
diff --git a/html-test/tests/TH.html.ref b/html-test/ref/TH.html
index 086d6a4a..086d6a4a 100644
--- a/html-test/tests/TH.html.ref
+++ b/html-test/ref/TH.html
diff --git a/html-test/tests/TH2.html.ref b/html-test/ref/TH2.html
index 4d4a8914..4d4a8914 100644
--- a/html-test/tests/TH2.html.ref
+++ b/html-test/ref/TH2.html
diff --git a/html-test/tests/Test.html.ref b/html-test/ref/Test.html
index f2ef2b28..f2ef2b28 100644
--- a/html-test/tests/Test.html.ref
+++ b/html-test/ref/Test.html
diff --git a/html-test/tests/Ticket112.html.ref b/html-test/ref/Ticket112.html
index c5c61703..c5c61703 100644
--- a/html-test/tests/Ticket112.html.ref
+++ b/html-test/ref/Ticket112.html
diff --git a/html-test/tests/Ticket61.html.ref b/html-test/ref/Ticket61.html
index 8c22488b..8c22488b 100644
--- a/html-test/tests/Ticket61.html.ref
+++ b/html-test/ref/Ticket61.html
diff --git a/html-test/tests/Ticket75.html.ref b/html-test/ref/Ticket75.html
index cd510ea5..cd510ea5 100644
--- a/html-test/tests/Ticket75.html.ref
+++ b/html-test/ref/Ticket75.html
diff --git a/html-test/tests/TypeFamilies.html.ref b/html-test/ref/TypeFamilies.html
index 196d60ec..196d60ec 100644
--- a/html-test/tests/TypeFamilies.html.ref
+++ b/html-test/ref/TypeFamilies.html
diff --git a/html-test/tests/TypeOperators.html.ref b/html-test/ref/TypeOperators.html
index 2b18727f..2b18727f 100644
--- a/html-test/tests/TypeOperators.html.ref
+++ b/html-test/ref/TypeOperators.html
diff --git a/html-test/tests/Unicode.html.ref b/html-test/ref/Unicode.html
index 13ef6c1e..13ef6c1e 100644
--- a/html-test/tests/Unicode.html.ref
+++ b/html-test/ref/Unicode.html
diff --git a/html-test/tests/Visible.html.ref b/html-test/ref/Visible.html
index de8b8d80..de8b8d80 100644
--- a/html-test/tests/Visible.html.ref
+++ b/html-test/ref/Visible.html
diff --git a/html-test/tests/frames.html.ref b/html-test/ref/frames.html
index 1b4e38d4..1b4e38d4 100644
--- a/html-test/tests/frames.html.ref
+++ b/html-test/ref/frames.html
diff --git a/html-test/tests/mini_A.html.ref b/html-test/ref/mini_A.html
index cbe50e41..cbe50e41 100644
--- a/html-test/tests/mini_A.html.ref
+++ b/html-test/ref/mini_A.html
diff --git a/html-test/tests/mini_AdvanceTypes.html.ref b/html-test/ref/mini_AdvanceTypes.html
index 59d8dcb1..59d8dcb1 100644
--- a/html-test/tests/mini_AdvanceTypes.html.ref
+++ b/html-test/ref/mini_AdvanceTypes.html
diff --git a/html-test/tests/mini_B.html.ref b/html-test/ref/mini_B.html
index 211a7deb..211a7deb 100644
--- a/html-test/tests/mini_B.html.ref
+++ b/html-test/ref/mini_B.html
diff --git a/html-test/tests/mini_Bug1.html.ref b/html-test/ref/mini_Bug1.html
index adf81c73..adf81c73 100644
--- a/html-test/tests/mini_Bug1.html.ref
+++ b/html-test/ref/mini_Bug1.html
diff --git a/html-test/tests/mini_Bug2.html.ref b/html-test/ref/mini_Bug2.html
index b673e459..b673e459 100644
--- a/html-test/tests/mini_Bug2.html.ref
+++ b/html-test/ref/mini_Bug2.html
diff --git a/html-test/tests/mini_Bug3.html.ref b/html-test/ref/mini_Bug3.html
index af4cc445..af4cc445 100644
--- a/html-test/tests/mini_Bug3.html.ref
+++ b/html-test/ref/mini_Bug3.html
diff --git a/html-test/tests/mini_Bug4.html.ref b/html-test/ref/mini_Bug4.html
index b403e94a..b403e94a 100644
--- a/html-test/tests/mini_Bug4.html.ref
+++ b/html-test/ref/mini_Bug4.html
diff --git a/html-test/tests/mini_Bug6.html.ref b/html-test/ref/mini_Bug6.html
index 5c5c1119..5c5c1119 100644
--- a/html-test/tests/mini_Bug6.html.ref
+++ b/html-test/ref/mini_Bug6.html
diff --git a/html-test/tests/mini_Bug7.html.ref b/html-test/ref/mini_Bug7.html
index 1bec82ee..1bec82ee 100644
--- a/html-test/tests/mini_Bug7.html.ref
+++ b/html-test/ref/mini_Bug7.html
diff --git a/html-test/tests/mini_Bug8.html.ref b/html-test/ref/mini_Bug8.html
index 070dbcf8..070dbcf8 100644
--- a/html-test/tests/mini_Bug8.html.ref
+++ b/html-test/ref/mini_Bug8.html
diff --git a/html-test/tests/mini_BugDeprecated.html.ref b/html-test/ref/mini_BugDeprecated.html
index f0410137..f0410137 100644
--- a/html-test/tests/mini_BugDeprecated.html.ref
+++ b/html-test/ref/mini_BugDeprecated.html
diff --git a/html-test/tests/mini_BugExportHeadings.html.ref b/html-test/ref/mini_BugExportHeadings.html
index b481720d..b481720d 100644
--- a/html-test/tests/mini_BugExportHeadings.html.ref
+++ b/html-test/ref/mini_BugExportHeadings.html
diff --git a/html-test/tests/mini_Bugs.html.ref b/html-test/ref/mini_Bugs.html
index 3c758375..3c758375 100644
--- a/html-test/tests/mini_Bugs.html.ref
+++ b/html-test/ref/mini_Bugs.html
diff --git a/html-test/tests/mini_CrossPackageDocs.html.ref b/html-test/ref/mini_CrossPackageDocs.html
index 4c0588ba..4c0588ba 100644
--- a/html-test/tests/mini_CrossPackageDocs.html.ref
+++ b/html-test/ref/mini_CrossPackageDocs.html
diff --git a/html-test/tests/mini_DeprecatedClass.html.ref b/html-test/ref/mini_DeprecatedClass.html
index 3923c1ff..3923c1ff 100644
--- a/html-test/tests/mini_DeprecatedClass.html.ref
+++ b/html-test/ref/mini_DeprecatedClass.html
diff --git a/html-test/tests/mini_DeprecatedData.html.ref b/html-test/ref/mini_DeprecatedData.html
index 8ef20113..8ef20113 100644
--- a/html-test/tests/mini_DeprecatedData.html.ref
+++ b/html-test/ref/mini_DeprecatedData.html
diff --git a/html-test/tests/mini_DeprecatedFunction.html.ref b/html-test/ref/mini_DeprecatedFunction.html
index 9bb90dac..9bb90dac 100644
--- a/html-test/tests/mini_DeprecatedFunction.html.ref
+++ b/html-test/ref/mini_DeprecatedFunction.html
diff --git a/html-test/tests/mini_DeprecatedFunction2.html.ref b/html-test/ref/mini_DeprecatedFunction2.html
index a03991a9..a03991a9 100644
--- a/html-test/tests/mini_DeprecatedFunction2.html.ref
+++ b/html-test/ref/mini_DeprecatedFunction2.html
diff --git a/html-test/tests/mini_DeprecatedFunction3.html.ref b/html-test/ref/mini_DeprecatedFunction3.html
index 4ea60339..4ea60339 100644
--- a/html-test/tests/mini_DeprecatedFunction3.html.ref
+++ b/html-test/ref/mini_DeprecatedFunction3.html
diff --git a/html-test/tests/mini_DeprecatedModule.html.ref b/html-test/ref/mini_DeprecatedModule.html
index bfdef611..bfdef611 100644
--- a/html-test/tests/mini_DeprecatedModule.html.ref
+++ b/html-test/ref/mini_DeprecatedModule.html
diff --git a/html-test/tests/mini_DeprecatedModule2.html.ref b/html-test/ref/mini_DeprecatedModule2.html
index dbcc43b9..dbcc43b9 100644
--- a/html-test/tests/mini_DeprecatedModule2.html.ref
+++ b/html-test/ref/mini_DeprecatedModule2.html
diff --git a/html-test/tests/mini_DeprecatedNewtype.html.ref b/html-test/ref/mini_DeprecatedNewtype.html
index a913525f..a913525f 100644
--- a/html-test/tests/mini_DeprecatedNewtype.html.ref
+++ b/html-test/ref/mini_DeprecatedNewtype.html
diff --git a/html-test/tests/mini_DeprecatedReExport.html.ref b/html-test/ref/mini_DeprecatedReExport.html
index 8316dda5..8316dda5 100644
--- a/html-test/tests/mini_DeprecatedReExport.html.ref
+++ b/html-test/ref/mini_DeprecatedReExport.html
diff --git a/html-test/tests/mini_DeprecatedRecord.html.ref b/html-test/ref/mini_DeprecatedRecord.html
index 3d949d2d..3d949d2d 100644
--- a/html-test/tests/mini_DeprecatedRecord.html.ref
+++ b/html-test/ref/mini_DeprecatedRecord.html
diff --git a/html-test/tests/mini_DeprecatedTypeFamily.html.ref b/html-test/ref/mini_DeprecatedTypeFamily.html
index c87d9637..c87d9637 100644
--- a/html-test/tests/mini_DeprecatedTypeFamily.html.ref
+++ b/html-test/ref/mini_DeprecatedTypeFamily.html
diff --git a/html-test/tests/mini_DeprecatedTypeSynonym.html.ref b/html-test/ref/mini_DeprecatedTypeSynonym.html
index 5ade100d..5ade100d 100644
--- a/html-test/tests/mini_DeprecatedTypeSynonym.html.ref
+++ b/html-test/ref/mini_DeprecatedTypeSynonym.html
diff --git a/html-test/tests/mini_DeprecationMessageParseError.html.ref b/html-test/ref/mini_DeprecationMessageParseError.html
index e52f487f..e52f487f 100644
--- a/html-test/tests/mini_DeprecationMessageParseError.html.ref
+++ b/html-test/ref/mini_DeprecationMessageParseError.html
diff --git a/html-test/tests/mini_Examples.html.ref b/html-test/ref/mini_Examples.html
index c99c2c48..c99c2c48 100644
--- a/html-test/tests/mini_Examples.html.ref
+++ b/html-test/ref/mini_Examples.html
diff --git a/html-test/tests/mini_FunArgs.html.ref b/html-test/ref/mini_FunArgs.html
index 89729720..89729720 100644
--- a/html-test/tests/mini_FunArgs.html.ref
+++ b/html-test/ref/mini_FunArgs.html
diff --git a/html-test/tests/mini_GADTRecords.html.ref b/html-test/ref/mini_GADTRecords.html
index a8b838f0..a8b838f0 100644
--- a/html-test/tests/mini_GADTRecords.html.ref
+++ b/html-test/ref/mini_GADTRecords.html
diff --git a/html-test/tests/mini_Hash.html.ref b/html-test/ref/mini_Hash.html
index 1e6ad1a9..1e6ad1a9 100644
--- a/html-test/tests/mini_Hash.html.ref
+++ b/html-test/ref/mini_Hash.html
diff --git a/html-test/tests/mini_HiddenInstances.html.ref b/html-test/ref/mini_HiddenInstances.html
index 0f1a2e04..0f1a2e04 100644
--- a/html-test/tests/mini_HiddenInstances.html.ref
+++ b/html-test/ref/mini_HiddenInstances.html
diff --git a/html-test/tests/mini_HiddenInstancesB.html.ref b/html-test/ref/mini_HiddenInstancesB.html
index 3ce4f6a9..3ce4f6a9 100644
--- a/html-test/tests/mini_HiddenInstancesB.html.ref
+++ b/html-test/ref/mini_HiddenInstancesB.html
diff --git a/html-test/tests/mini_Hyperlinks.html.ref b/html-test/ref/mini_Hyperlinks.html
index f0c7d65a..f0c7d65a 100644
--- a/html-test/tests/mini_Hyperlinks.html.ref
+++ b/html-test/ref/mini_Hyperlinks.html
diff --git a/html-test/tests/mini_IgnoreExports.html.ref b/html-test/ref/mini_IgnoreExports.html
index a420e65a..a420e65a 100644
--- a/html-test/tests/mini_IgnoreExports.html.ref
+++ b/html-test/ref/mini_IgnoreExports.html
diff --git a/html-test/tests/mini_ModuleWithWarning.html.ref b/html-test/ref/mini_ModuleWithWarning.html
index 19315a14..19315a14 100644
--- a/html-test/tests/mini_ModuleWithWarning.html.ref
+++ b/html-test/ref/mini_ModuleWithWarning.html
diff --git a/html-test/tests/mini_NamedDoc.html.ref b/html-test/ref/mini_NamedDoc.html
index 066bbc61..066bbc61 100644
--- a/html-test/tests/mini_NamedDoc.html.ref
+++ b/html-test/ref/mini_NamedDoc.html
diff --git a/html-test/tests/mini_NoLayout.html.ref b/html-test/ref/mini_NoLayout.html
index 19562d70..19562d70 100644
--- a/html-test/tests/mini_NoLayout.html.ref
+++ b/html-test/ref/mini_NoLayout.html
diff --git a/html-test/tests/mini_NonGreedy.html.ref b/html-test/ref/mini_NonGreedy.html
index 698c368e..698c368e 100644
--- a/html-test/tests/mini_NonGreedy.html.ref
+++ b/html-test/ref/mini_NonGreedy.html
diff --git a/html-test/tests/mini_Properties.html.ref b/html-test/ref/mini_Properties.html
index 5f538dfd..5f538dfd 100644
--- a/html-test/tests/mini_Properties.html.ref
+++ b/html-test/ref/mini_Properties.html
diff --git a/html-test/tests/mini_PruneWithWarning.html.ref b/html-test/ref/mini_PruneWithWarning.html
index 9eb3aa00..9eb3aa00 100644
--- a/html-test/tests/mini_PruneWithWarning.html.ref
+++ b/html-test/ref/mini_PruneWithWarning.html
diff --git a/html-test/tests/mini_QuasiExpr.html.ref b/html-test/ref/mini_QuasiExpr.html
index 7dd9b829..7dd9b829 100644
--- a/html-test/tests/mini_QuasiExpr.html.ref
+++ b/html-test/ref/mini_QuasiExpr.html
diff --git a/html-test/tests/mini_QuasiQuote.html.ref b/html-test/ref/mini_QuasiQuote.html
index 5dac6acc..5dac6acc 100644
--- a/html-test/tests/mini_QuasiQuote.html.ref
+++ b/html-test/ref/mini_QuasiQuote.html
diff --git a/html-test/tests/mini_TH.html.ref b/html-test/ref/mini_TH.html
index d2ddbabc..d2ddbabc 100644
--- a/html-test/tests/mini_TH.html.ref
+++ b/html-test/ref/mini_TH.html
diff --git a/html-test/tests/mini_TH2.html.ref b/html-test/ref/mini_TH2.html
index 2c9f1340..2c9f1340 100644
--- a/html-test/tests/mini_TH2.html.ref
+++ b/html-test/ref/mini_TH2.html
diff --git a/html-test/tests/mini_Test.html.ref b/html-test/ref/mini_Test.html
index 26db2c0f..26db2c0f 100644
--- a/html-test/tests/mini_Test.html.ref
+++ b/html-test/ref/mini_Test.html
diff --git a/html-test/tests/mini_Ticket112.html.ref b/html-test/ref/mini_Ticket112.html
index 68a0a5e5..68a0a5e5 100644
--- a/html-test/tests/mini_Ticket112.html.ref
+++ b/html-test/ref/mini_Ticket112.html
diff --git a/html-test/tests/mini_Ticket61.html.ref b/html-test/ref/mini_Ticket61.html
index a73fefca..a73fefca 100644
--- a/html-test/tests/mini_Ticket61.html.ref
+++ b/html-test/ref/mini_Ticket61.html
diff --git a/html-test/tests/mini_Ticket75.html.ref b/html-test/ref/mini_Ticket75.html
index 75ce882c..75ce882c 100644
--- a/html-test/tests/mini_Ticket75.html.ref
+++ b/html-test/ref/mini_Ticket75.html
diff --git a/html-test/tests/mini_TypeFamilies.html.ref b/html-test/ref/mini_TypeFamilies.html
index 0cf39c88..0cf39c88 100644
--- a/html-test/tests/mini_TypeFamilies.html.ref
+++ b/html-test/ref/mini_TypeFamilies.html
diff --git a/html-test/tests/mini_TypeOperators.html.ref b/html-test/ref/mini_TypeOperators.html
index 86b6beec..86b6beec 100644
--- a/html-test/tests/mini_TypeOperators.html.ref
+++ b/html-test/ref/mini_TypeOperators.html
diff --git a/html-test/tests/mini_Unicode.html.ref b/html-test/ref/mini_Unicode.html
index 55336980..55336980 100644
--- a/html-test/tests/mini_Unicode.html.ref
+++ b/html-test/ref/mini_Unicode.html
diff --git a/html-test/tests/mini_Visible.html.ref b/html-test/ref/mini_Visible.html
index 976a30c5..976a30c5 100644
--- a/html-test/tests/mini_Visible.html.ref
+++ b/html-test/ref/mini_Visible.html
diff --git a/html-test/runtests.hs b/html-test/runtests.hs
index 292deb8b..1898cde3 100644
--- a/html-test/runtests.hs
+++ b/html-test/runtests.hs
@@ -26,6 +26,7 @@ dataDir = packageRoot </> "resources"
haddockPath = packageRoot </> "dist" </> "build" </> "haddock" </> "haddock"
testSuiteRoot = packageRoot </> "html-test"
testDir = testSuiteRoot </> "tests"
+refDir = testSuiteRoot </> "ref"
outDir = testSuiteRoot </> "output"
@@ -102,12 +103,11 @@ test = do
check :: [FilePath] -> Bool -> IO ()
check modules strict = do
forM_ modules $ \mod -> do
- let outfile = outDir </> dropExtension mod ++ ".html"
- let reffile = testDir </> dropExtension mod ++ ".html.ref"
+ let outfile = outDir </> dropExtension mod ++ ".html"
+ let reffile = refDir </> dropExtension mod ++ ".html"
b <- doesFileExist reffile
if b
then do
- copyFile reffile (outDir </> takeFileName reffile)
out <- readFile outfile
ref <- readFile reffile
if not $ haddockEq out ref
@@ -116,7 +116,7 @@ check modules strict = do
let ref' = stripLinks ref
out' = stripLinks out
let reffile' = outDir </> takeFileName reffile ++ ".nolinks"
- outfile' = outDir </> takeFileName outfile ++ ".nolinks"
+ outfile' = outDir </> takeFileName outfile ++ ".ref.nolinks"
writeFile reffile' ref'
writeFile outfile' out'
r <- programOnPath "colordiff"