urbit/pkg/hs/urbit-king/test/Main.hs

41 lines
1010 B
Haskell
Raw Normal View History

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