diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2019-01-09 21:12:28 +0000 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2019-01-09 21:12:28 +0000 |
commit | a8436846201d03b80d8b11b68ef07923bb2997b4 (patch) | |
tree | 85fa9f628536711a9888a0c7601cee5f06016470 /tests | |
parent | c96a9c4d4bb31ec0238a40f79da6eddf4e8d57a7 (diff) | |
download | verismith-a8436846201d03b80d8b11b68ef07923bb2997b4.tar.gz verismith-a8436846201d03b80d8b11b68ef07923bb2997b4.zip |
Add doctest-discover
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Doctest.hs | 5 | ||||
-rw-r--r-- | tests/doctest.json | 5 |
2 files changed, 6 insertions, 4 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" ] +} |