mirror of
https://github.com/anoma/juvix.git
synced 2024-12-12 14:28:08 +03:00
d576111241
* Closes #2035 * Depends on #2086 * Depends on #2096 * Adds end-to-end tests for the Juvix-to-VampIR compilation pipeline. --------- Co-authored-by: Jonathan Cubides <jonathan.cubides@uib.no>
52 lines
1.1 KiB
Haskell
52 lines
1.1 KiB
Haskell
module Main (main) where
|
|
|
|
import Arity qualified
|
|
import Asm qualified
|
|
import BackendGeb qualified
|
|
import Base
|
|
import Compilation qualified
|
|
import Core qualified
|
|
import Examples qualified
|
|
import Format qualified
|
|
import Formatter qualified
|
|
import Internal qualified
|
|
import Parsing qualified
|
|
import Reachability qualified
|
|
import Runtime qualified
|
|
import Scope qualified
|
|
import Termination qualified
|
|
import Typecheck qualified
|
|
import VampIR qualified
|
|
|
|
slowTests :: TestTree
|
|
slowTests =
|
|
testGroup
|
|
"Juvix slow tests"
|
|
[ BackendGeb.allTests,
|
|
Runtime.allTests,
|
|
Asm.allTests,
|
|
Core.allTests,
|
|
Internal.allTests,
|
|
Compilation.allTests,
|
|
Examples.allTests,
|
|
VampIR.allTests
|
|
]
|
|
|
|
fastTests :: TestTree
|
|
fastTests =
|
|
testGroup
|
|
"Juvix fast tests"
|
|
[ Parsing.allTests,
|
|
Scope.allTests,
|
|
Termination.allTests,
|
|
Arity.allTests,
|
|
Typecheck.allTests,
|
|
Reachability.allTests,
|
|
Format.allTests,
|
|
Formatter.allTests
|
|
]
|
|
|
|
main :: IO ()
|
|
main = do
|
|
defaultMain (testGroup "Juvix tests" [fastTests, slowTests])
|