-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathMain.hs
52 lines (42 loc) · 1.11 KB
/
Main.hs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{-# LANGUAGE TemplateHaskell #-}
-- |
module Main where
-- |
import Data.Word (Word8)
import Test.Tasty
import Test.Tasty.HUnit
import Test.Tasty.TH
import qualified Data.Map as M
import Gibbon.L4.Syntax hiding (Prog (..), Ty (..))
import Gibbon.L2.Syntax (Multiplicity(..))
import qualified Gibbon.L4.Syntax as T
-- |
import RouteEnds
import InferEffects
import InferRegionScope
import Unariser
import AddRAN
import L1.Typecheck
import L1.Interp
import L2.Typecheck
import L2.Interp
-- import L0.Specialize
import InferLocations
main :: IO ()
main = defaultMain allTests
where allTests = testGroup "All"
[ tests
, addRANTests
, routeEnds2Tests
, inferLocations2Tests
, inferEffects2Tests
, inferRegScopeTests
, unariser2Tests
-- , l2TypecheckerTests
, l1TypecheckerTests
, l1InterpTests
, l2InterpTests
-- , specializeTests
]
tests :: TestTree
tests = $(testGroupGenerator)