2019-07-19 03:52:53 +03:00
|
|
|
module Main (main) where
|
|
|
|
|
|
|
|
import ClassyPrelude
|
|
|
|
|
2019-09-24 01:45:33 +03:00
|
|
|
import RIO.Directory
|
2019-07-19 03:52:53 +03:00
|
|
|
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)
|
2019-09-24 01:45:33 +03:00
|
|
|
import System.Environment (setEnv)
|
2019-07-19 03:52:53 +03:00
|
|
|
|
2019-08-01 00:52:49 +03:00
|
|
|
import qualified AmesTests
|
2019-09-24 01:45:33 +03:00
|
|
|
import qualified ArvoTests
|
2019-08-01 03:27:13 +03:00
|
|
|
import qualified BehnTests
|
2019-10-10 23:45:01 +03:00
|
|
|
import qualified DawnTests
|
2019-09-24 01:45:33 +03:00
|
|
|
import qualified DeriveNounTests
|
2019-09-27 00:28:11 +03:00
|
|
|
import qualified HoonMapSetTests
|
2019-10-11 00:20:26 +03:00
|
|
|
import qualified JamTests
|
2019-09-24 01:45:33 +03:00
|
|
|
import qualified LogTests
|
|
|
|
import qualified NounConversionTests
|
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"
|
2019-10-10 23:45:01 +03:00
|
|
|
[ AmesTests.tests
|
2019-09-18 06:33:38 +03:00
|
|
|
, ArvoTests.tests
|
|
|
|
, BehnTests.tests
|
2019-10-10 23:45:01 +03:00
|
|
|
, DawnTests.tests
|
|
|
|
, DeriveNounTests.tests
|
2019-09-27 00:28:11 +03:00
|
|
|
, HoonMapSetTests.tests
|
2019-10-11 00:20:26 +03:00
|
|
|
, JamTests.tests
|
2019-10-10 23:45:01 +03:00
|
|
|
, LogTests.tests
|
|
|
|
, NounConversionTests.tests
|
2019-09-18 06:33:38 +03:00
|
|
|
]
|