urbit/pkg/king/test/Main.hs

31 lines
712 B
Haskell
Raw Normal View History

module Main (main) where
import ClassyPrelude
import Test.QuickCheck hiding ((.&.))
import Test.Tasty
import Test.Tasty.QuickCheck
import Test.Tasty.TH
2019-09-18 06:33:38 +03:00
import RIO.Directory
import System.Environment (setEnv)
2019-08-21 02:32:46 +03:00
import Control.Concurrent (runInBoundThread)
import qualified LogTests
import qualified DeriveNounTests
import qualified ArvoTests
import qualified AmesTests
2019-08-01 03:27:13 +03:00
import qualified BehnTests
main :: IO ()
main = do
2019-09-18 06:33:38 +03:00
makeAbsolute "../.." >>= setCurrentDirectory
setEnv "TASTY_NUM_THREADS" "1"
runInBoundThread $ defaultMain $ testGroup "Urbit"
[ DeriveNounTests.tests
, ArvoTests.tests
, AmesTests.tests
, LogTests.tests
, BehnTests.tests
]