Skip to content

Commit 21db78c

Browse files
snoybergborsboom
authored andcommitted
Skip a bash test on Windows
1 parent b8f0da8 commit 21db78c

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)