2019-07-19 03:52:53 +03:00
|
|
|
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
|
2019-07-19 03:52:53 +03:00
|
|
|
|
2019-08-01 01:44:14 +03:00
|
|
|
import System.Environment (setEnv)
|
2019-08-21 02:32:46 +03:00
|
|
|
import Control.Concurrent (runInBoundThread)
|
2019-07-19 03:52:53 +03:00
|
|
|
|
|
|
|
import qualified LogTests
|
2019-07-21 02:47:35 +03:00
|
|
|
import qualified DeriveNounTests
|
2019-07-24 07:03:04 +03:00
|
|
|
import qualified ArvoTests
|
2019-08-01 00:52:49 +03:00
|
|
|
import qualified AmesTests
|
2019-08-01 03:27:13 +03:00
|
|
|
import qualified BehnTests
|
2019-07-19 03:52:53 +03:00
|
|
|
|
|
|
|
main :: IO ()
|
2019-08-01 01:44:14 +03:00
|
|
|
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
|
|
|
|
]
|