1
- {-# OPTIONS_GHC -Wall #-}
2
-
3
1
module Main where
4
2
5
3
import Command
@@ -14,50 +12,43 @@ import FunctionalCodeAction
14
12
import FunctionalLiquid
15
13
import HieBios
16
14
import Highlight
17
- import ModuleName
18
15
import Progress
19
16
import Reference
20
17
import Rename
21
18
import Symbol
22
- import System.Environment
23
19
import Tactic
24
20
import Test.Tasty
25
21
import Test.Tasty.Ingredients.Rerun
26
- import Test.Tasty.Runners (
27
- consoleTestReporter ,
28
- listingTests ,
29
- )
22
+ import Test.Tasty.Runners (consoleTestReporter , listingTests )
30
23
import Test.Tasty.Runners.AntXML
31
24
import TypeDefinition
32
25
33
26
main :: IO ()
34
- main = do
27
+ main =
35
28
-- ingredient: xml runner writes json file of test results (https://github.com/ocharles/tasty-ant-xml/blob/master/Test/Tasty/Runners/AntXML.hs)
36
29
-- rerunningTests allow rerun of failed tests (https://github.com/ocharles/tasty-rerun/blob/master/src/Test/Tasty/Ingredients/Rerun.hs)
37
- setEnv
38
- " TASTY_NUM_THREADS"
39
- " 1"
40
30
defaultMainWithIngredients
41
- [antXMLRunner, rerunningTests [listingTests, consoleTestReporter]]
31
+ [ antXMLRunner
32
+ , rerunningTests [listingTests, consoleTestReporter]
33
+ ]
42
34
$ testGroup
43
35
" haskell-language-server"
44
- [ -- Command.tests
45
- -- , Completion.tests
46
- -- , Deferred.tests
47
- -- , Definition.tests
48
- -- , Diagnostic.tests
49
- Eval. tests
50
- -- , Format.tests
51
- -- , FunctionalBadProject.tests
52
- -- , FunctionalCodeAction.tests
53
- -- , FunctionalLiquid.tests
54
- -- , HieBios.tests
55
- -- , Highlight.tests
56
- -- , ModuleName.tests
57
- -- , Progress.tests
58
- -- , Reference.tests
59
- -- , Rename.tests
60
- -- , Symbol.tests
61
- -- , Tactic.tests
62
- -- , TypeDefinition.tests
36
+ [ Command. tests
37
+ , Completion. tests
38
+ , Deferred. tests
39
+ , Definition. tests
40
+ , Diagnostic. tests
41
+ , Eval. tests
42
+ , Format. tests
43
+ , FunctionalBadProject. tests
44
+ , FunctionalCodeAction. tests
45
+ , FunctionalLiquid. tests
46
+ , HieBios. tests
47
+ , Highlight. tests
48
+ , Progress. tests
49
+ , Reference. tests
50
+ , Rename. tests
51
+ , Symbol. tests
52
+ , Tactic. tests
53
+ , TypeDefinition. tests
63
54
]
0 commit comments