urbit/pkg/king/test/Main.hs
2019-08-20 16:32:46 -07:00

29 lines
614 B
Haskell

module Main (main) where
import ClassyPrelude
import Test.QuickCheck hiding ((.&.))
import Test.Tasty
import Test.Tasty.QuickCheck
import Test.Tasty.TH
import System.Environment (setEnv)
import Control.Concurrent (runInBoundThread)
import qualified LogTests
import qualified DeriveNounTests
import qualified ArvoTests
import qualified AmesTests
import qualified BehnTests
main :: IO ()
main = do
setEnv "TASTY_NUM_THREADS" "1"
runInBoundThread $ defaultMain $ testGroup "Urbit"
[ DeriveNounTests.tests
, ArvoTests.tests
, AmesTests.tests
, LogTests.tests
, BehnTests.tests
]