Skip to content

Commit 5f8fab2

Browse files
committed
Skip a bash test on Windows
1 parent 818ffdd commit 5f8fab2

File tree

1 file changed

+3
-1
lines changed
  • test/integration/tests/2433-ghc-by-version

1 file changed

+3
-1
lines changed
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import System.Process (rawSystem)
22
import Control.Exception (throwIO)
3+
import StackTest
4+
import Control.Monad (unless)
35

46
main :: IO ()
5-
main = rawSystem "bash" ["run.sh"] >>= throwIO
7+
main = unless isWindows $ rawSystem "bash" ["run.sh"] >>= throwIO

0 commit comments

Comments
 (0)