1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 23:42:31 +03:00

semantic-core no longer has doctests.

This commit is contained in:
Rob Rix 2019-10-11 12:53:36 -04:00
parent d20cbead89
commit 9e31fc1f9b
No known key found for this signature in database
GPG Key ID: F188A01508EA1CF7
3 changed files with 0 additions and 24 deletions

View File

@ -37,7 +37,6 @@ script:
- cabal new-build
- cabal new-run semantic:test
- cabal new-run semantic-core:test
- cabal new-run semantic-core:doctest
- cabal new-run semantic-python:test
- cabal new-run semantic-source:test
- cabal new-run semantic-source:doctest

View File

@ -59,17 +59,6 @@ library
, trifecta ^>= 2
, unordered-containers ^>= 0.2.10
test-suite doctest
import: common
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Doctest.hs
build-depends:
base >=4.9 && <4.13
, doctest >=0.7 && <1.0
, QuickCheck
, semantic-core
test-suite test
import: common
type: exitcode-stdio-1.0

View File

@ -1,12 +0,0 @@
module Main
( main
) where
import System.Environment
import Test.DocTest
main :: IO ()
main = do
args <- getArgs
autogen <- fmap (<> "/build/doctest/autogen") <$> lookupEnv "HASKELL_DIST_DIR"
doctest (maybe id ((:) . ("-i" <>)) autogen ("-isemantic-core/src" : "--fast" : if null args then ["semantic-core/src"] else args))