aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/Doctest.hs5
-rw-r--r--tests/doctest.json5
-rw-r--r--verifuzz.cabal6
3 files changed, 10 insertions, 6 deletions
diff --git a/tests/Doctest.hs b/tests/Doctest.hs
index f72022d..736ea72 100644
--- a/tests/Doctest.hs
+++ b/tests/Doctest.hs
@@ -1,4 +1 @@
-import Test.DocTest
-
-main =
- doctest ["-XOverloadedStrings", "-isrc", "src/Test/VeriFuzz/Verilog/Mutate.hs"]
+{-# options_ghc -F -pgmF doctest-discover -optF test/doctest.json #-}
diff --git a/tests/doctest.json b/tests/doctest.json
new file mode 100644
index 0000000..d6f5cae
--- /dev/null
+++ b/tests/doctest.json
@@ -0,0 +1,5 @@
+{
+ "ignore": [],
+ "sourceFolders": [ "src" ],
+ "doctestOptions": [ "-XOverloadedStrings" ]
+}
diff --git a/verifuzz.cabal b/verifuzz.cabal
index 252bd97..f2524d8 100644
--- a/verifuzz.cabal
+++ b/verifuzz.cabal
@@ -1,7 +1,8 @@
name: verifuzz
version: 0.1.0.0
--- synopsis:
--- description:
+synopsis: Random verilog generation and simulator testing.
+description: VeriFuzz provides random verilog generation modules
+ implementing functions to test supported simulators.
homepage: https://github.com/githubuser/verifuzz#readme
license: BSD3
license-file: LICENSE
@@ -89,4 +90,5 @@ test-suite verifuzz-doctest
build-depends: base >= 4 && < 5
, verifuzz
, doctest
+ , doctest-discover
default-extensions: OverloadedStrings \ No newline at end of file