Skip to content

Commit 311cffe

Browse files
mpilgremdten
authored andcommitted
Re commercialhaskell#6170 Disable 3926-ghci-with-sublibraries on Windows
1 parent bb26b0c commit 311cffe

File tree

1 file changed

+11
-7
lines changed
  • test/integration/tests/3926-ghci-with-sublibraries

1 file changed

+11
-7
lines changed

test/integration/tests/3926-ghci-with-sublibraries/Main.hs

+11-7
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,17 @@ import Data.List
55
import StackTest
66

77
main :: IO ()
8-
main = do
9-
stack ["clean"] -- to make sure we can load the code even after a clean
10-
copy "src/Lib.v1" "src/Lib.hs"
11-
copy "src-internal/Internal.v1" "src-internal/Internal.hs"
12-
stack ["build"] -- need a build before ghci at the moment, see #4148
13-
forkIO fileEditingThread
14-
replThread
8+
main
9+
| isWindows =
10+
putStrLn "This test was disabled on Windows on 25 June 2023 (see \
11+
\https://github.com/commercialhaskell/stack/issues/6170)."
12+
| otherwise = do
13+
stack ["clean"] -- to make sure we can load the code even after a clean
14+
copy "src/Lib.v1" "src/Lib.hs"
15+
copy "src-internal/Internal.v1" "src-internal/Internal.hs"
16+
stack ["build"] -- need a build before ghci at the moment, see #4148
17+
forkIO fileEditingThread
18+
replThread
1519

1620
replThread :: IO ()
1721
replThread = repl [] $ do

0 commit comments

Comments
 (0)