Skip to content

Commit a939950

Browse files
committed
Add RTS flags to test cases to make sure they are stripped out
1 parent 8babfe1 commit a939950

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

ghcide-test/data/multi-unit/a-1.0.0-inplace

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,6 @@ base
1616
text
1717
-XHaskell98
1818
A
19+
+RTS
20+
-A32M
21+
-RTS

ghcide-test/data/multi-unit/c-1.0.0-inplace

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,5 @@ a-1.0.0-inplace
1717
base
1818
-XHaskell98
1919
C
20+
+RTS
21+
-A32M

ghcide-test/exe/CradleTests.hs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,11 @@ simpleSubDirectoryTest =
117117

118118
multiTests :: FilePath -> [TestTree]
119119
multiTests dir =
120-
[simpleMultiTest dir, simpleMultiTest2 dir, simpleMultiTest3 dir, simpleMultiDefTest dir]
120+
[ simpleMultiTest dir
121+
, simpleMultiTest2 dir
122+
, simpleMultiTest3 dir
123+
, simpleMultiDefTest dir
124+
]
121125

122126
multiTestName :: FilePath -> String -> String
123127
multiTestName dir name = "simple-" ++ dir ++ "-" ++ name

0 commit comments

Comments
 (0)