2019-07-19 03:52:53 +03:00
|
|
|
module Main (main) where
|
|
|
|
|
|
|
|
import ClassyPrelude
|
|
|
|
|
2020-10-29 18:20:41 +03:00
|
|
|
import Control.Concurrent (runInBoundThread)
|
|
|
|
import Data.Proxy (Proxy (Proxy))
|
2019-09-24 01:45:33 +03:00
|
|
|
import RIO.Directory
|
2019-07-19 03:52:53 +03:00
|
|
|
import Test.QuickCheck hiding ((.&.))
|
|
|
|
import Test.Tasty
|
|
|
|
import Test.Tasty.QuickCheck
|
|
|
|
import Test.Tasty.TH
|
2020-10-29 18:20:41 +03:00
|
|
|
import Test.Tasty.Options (OptionDescription (Option))
|
2019-07-19 03:52:53 +03:00
|
|
|
|
2019-08-01 00:52:49 +03:00
|
|
|
import qualified AmesTests
|
2019-09-24 01:45:33 +03:00
|
|
|
import qualified ArvoTests
|
2019-08-01 03:27:13 +03:00
|
|
|
import qualified BehnTests
|
2019-10-11 02:24:12 +03:00
|
|
|
import qualified ClayTests
|
2019-10-10 23:45:01 +03:00
|
|
|
import qualified DawnTests
|
2019-09-24 01:45:33 +03:00
|
|
|
import qualified DeriveNounTests
|
2019-09-27 00:28:11 +03:00
|
|
|
import qualified HoonMapSetTests
|
2019-10-11 00:20:26 +03:00
|
|
|
import qualified JamTests
|
2019-09-24 01:45:33 +03:00
|
|
|
import qualified LogTests
|
|
|
|
import qualified NounConversionTests
|
2020-10-29 18:20:41 +03:00
|
|
|
import qualified Options
|
|
|
|
import qualified Test.Tasty.Runners as Runners
|
2019-07-19 03:52:53 +03:00
|
|
|
|
|
|
|
main :: IO ()
|
2019-08-01 01:44:14 +03:00
|
|
|
main = do
|
2020-10-29 18:20:41 +03:00
|
|
|
let ingredients =
|
|
|
|
includingOptions
|
|
|
|
[ Option (Proxy @Options.Brass)
|
|
|
|
] : defaultIngredients
|
|
|
|
|
|
|
|
runInBoundThread $
|
|
|
|
defaultMainWithIngredients ingredients $
|
|
|
|
localOption (Runners.NumThreads 1) $
|
|
|
|
testGroup "Urbit"
|
|
|
|
[ AmesTests.tests
|
|
|
|
, ArvoTests.tests
|
|
|
|
, BehnTests.tests
|
|
|
|
, ClayTests.tests
|
|
|
|
, DawnTests.tests
|
|
|
|
, DeriveNounTests.tests
|
|
|
|
, HoonMapSetTests.tests
|
|
|
|
, JamTests.tests
|
|
|
|
, LogTests.tests
|
|
|
|
, NounConversionTests.tests
|
|
|
|
]
|