aboutsummaryrefslogtreecommitdiff
path: root/haddock-library/test/doctests.hs
diff options
context:
space:
mode:
Diffstat (limited to 'haddock-library/test/doctests.hs')
-rw-r--r--haddock-library/test/doctests.hs11
1 files changed, 11 insertions, 0 deletions
diff --git a/haddock-library/test/doctests.hs b/haddock-library/test/doctests.hs
new file mode 100644
index 00000000..e4f93858
--- /dev/null
+++ b/haddock-library/test/doctests.hs
@@ -0,0 +1,11 @@
+module Main where
+
+import Test.DocTest
+
+main :: IO ()
+main = doctest [
+ "-isrc"
+ , "-ivendor/attoparsec-0.10.4.0"
+ , "-optP-include", "-optPdist/build/autogen/cabal_macros.h"
+ , "src/Documentation/Haddock/Parser.hs"
+ ]