aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/doctests.hs14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/doctests.hs b/test/doctests.hs
new file mode 100644
index 0000000..4b5d604
--- /dev/null
+++ b/test/doctests.hs
@@ -0,0 +1,14 @@
+module Main
+ ( main
+ ) where
+
+import Build_doctests (flags, module_sources, pkgs)
+import Data.Foldable (traverse_)
+import Test.DocTest (doctest)
+
+main :: IO ()
+main = do
+ traverse_ putStrLn args
+ doctest args
+ where
+ args = flags ++ pkgs ++ module_sources