urbit/pkg/king/test/Main.hs
Elliot Glaysher 1c683b3d97 Merge remote-tracking branch 'origin/king-haskell' into king-dawn
Does a few small fixups for compilation and to make sure things
still work.
2019-09-27 10:30:26 -07:00

35 lines
850 B
Haskell

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