2022-02-15 16:12:53 +03:00
|
|
|
module Main (main) where
|
|
|
|
|
2024-02-23 15:54:22 +03:00
|
|
|
import Anoma qualified
|
2022-09-29 18:44:55 +03:00
|
|
|
import Asm qualified
|
2023-02-22 17:27:40 +03:00
|
|
|
import BackendGeb qualified
|
2023-11-16 13:20:34 +03:00
|
|
|
import BackendMarkdown qualified
|
2022-02-15 16:12:53 +03:00
|
|
|
import Base
|
2024-01-12 14:57:02 +03:00
|
|
|
import Casm qualified
|
2023-01-12 13:22:32 +03:00
|
|
|
import Compilation qualified
|
2022-08-30 12:24:15 +03:00
|
|
|
import Core qualified
|
2023-03-24 16:16:26 +03:00
|
|
|
import Examples qualified
|
2023-02-14 18:27:11 +03:00
|
|
|
import Format qualified
|
2023-03-29 16:51:04 +03:00
|
|
|
import Formatter qualified
|
2022-11-07 16:47:56 +03:00
|
|
|
import Internal qualified
|
2024-01-11 15:04:38 +03:00
|
|
|
import Nockma qualified
|
2023-10-23 21:01:36 +03:00
|
|
|
import Package qualified
|
2022-09-07 14:59:41 +03:00
|
|
|
import Parsing qualified
|
2024-02-09 14:19:29 +03:00
|
|
|
import Reg qualified
|
2024-02-26 19:19:04 +03:00
|
|
|
import Repl qualified
|
2023-12-30 22:15:35 +03:00
|
|
|
import Resolver qualified
|
2022-11-03 11:38:09 +03:00
|
|
|
import Runtime qualified
|
2022-04-05 20:57:21 +03:00
|
|
|
import Scope qualified
|
2022-05-30 14:40:52 +03:00
|
|
|
import Termination qualified
|
2024-01-25 21:02:06 +03:00
|
|
|
import Tree qualified
|
2022-09-23 16:43:18 +03:00
|
|
|
import Typecheck qualified
|
2023-05-22 21:18:18 +03:00
|
|
|
import VampIR qualified
|
2022-02-15 16:12:53 +03:00
|
|
|
|
2022-05-05 16:12:17 +03:00
|
|
|
slowTests :: TestTree
|
|
|
|
slowTests =
|
2022-04-05 20:57:21 +03:00
|
|
|
testGroup
|
2022-07-08 14:59:45 +03:00
|
|
|
"Juvix slow tests"
|
2023-03-14 18:24:07 +03:00
|
|
|
[ BackendGeb.allTests,
|
2023-01-12 13:22:32 +03:00
|
|
|
Runtime.allTests,
|
2024-02-09 14:19:29 +03:00
|
|
|
Reg.allTests,
|
2022-11-03 11:38:09 +03:00
|
|
|
Asm.allTests,
|
2024-01-25 21:02:06 +03:00
|
|
|
Tree.allTests,
|
2023-01-12 13:22:32 +03:00
|
|
|
Core.allTests,
|
2022-11-07 16:47:56 +03:00
|
|
|
Internal.allTests,
|
2023-03-24 16:16:26 +03:00
|
|
|
Compilation.allTests,
|
2023-05-22 21:18:18 +03:00
|
|
|
Examples.allTests,
|
2024-01-12 14:57:02 +03:00
|
|
|
Casm.allTests,
|
2024-02-23 15:54:22 +03:00
|
|
|
VampIR.allTests,
|
2024-02-26 19:19:04 +03:00
|
|
|
Anoma.allTests,
|
|
|
|
Repl.allTests
|
2022-08-30 12:24:15 +03:00
|
|
|
]
|
2022-05-05 16:12:17 +03:00
|
|
|
|
|
|
|
fastTests :: TestTree
|
|
|
|
fastTests =
|
|
|
|
testGroup
|
2022-07-08 14:59:45 +03:00
|
|
|
"Juvix fast tests"
|
2022-09-07 14:59:41 +03:00
|
|
|
[ Parsing.allTests,
|
2023-12-30 22:15:35 +03:00
|
|
|
Resolver.allTests,
|
2022-09-07 14:59:41 +03:00
|
|
|
Scope.allTests,
|
2022-05-30 14:40:52 +03:00
|
|
|
Termination.allTests,
|
2022-09-23 16:43:18 +03:00
|
|
|
Typecheck.allTests,
|
2023-03-29 16:51:04 +03:00
|
|
|
Format.allTests,
|
2023-10-23 21:01:36 +03:00
|
|
|
Formatter.allTests,
|
2023-11-16 13:20:34 +03:00
|
|
|
Package.allTests,
|
2024-01-11 15:04:38 +03:00
|
|
|
BackendMarkdown.allTests,
|
|
|
|
Nockma.allTests
|
2022-04-05 20:57:21 +03:00
|
|
|
]
|
2022-02-15 16:12:53 +03:00
|
|
|
|
|
|
|
main :: IO ()
|
2023-11-16 18:19:52 +03:00
|
|
|
main = defaultMain (testGroup "Juvix tests" [fastTests, slowTests])
|