-
Notifications
You must be signed in to change notification settings - Fork 691
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
more Windows tests failing on GHC 9.4 marked broken
- Loading branch information
1 parent
e4e5d89
commit 78cbeba
Showing
17 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
import Test.Cabal.Prelude | ||
main = cabalTest $ do | ||
isWin <- isWindows | ||
ghc94 <- isGhcVersion "== 9.4.*" | ||
expectBrokenIf (isWin && ghc94) 8451 $ do | ||
cabal "v2-build" ["foreign-opts-c-exe"] | ||
withPlan $ runPlanExe "foreign-opts-c" "foreign-opts-c-exe" [] |
3 changes: 3 additions & 0 deletions
3
cabal-testsuite/PackageTests/FFI/ForeignOptsCxx/cabal.test.hs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
import Test.Cabal.Prelude | ||
main = cabalTest $ do | ||
isWin <- isWindows | ||
ghc94 <- isGhcVersion "== 9.4.*" | ||
expectBrokenIf (isWin && ghc94) 8451 $ do | ||
cabal "v2-build" ["foreign-opts-cxx-exe"] | ||
withPlan $ runPlanExe "foreign-opts-cxx" "foreign-opts-cxx-exe" [] |
3 changes: 3 additions & 0 deletions
3
cabal-testsuite/PackageTests/NewBuild/CmdBench/OptionsFlag/cabal.test.hs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
cabal-testsuite/PackageTests/NewBuild/CmdBuild/Script/cabal.test.hs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
cabal-testsuite/PackageTests/NewBuild/CmdBuild/ScriptBuildRepl/cabal.test.hs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
import Test.Cabal.Prelude | ||
|
||
main = cabalTest . void $ do | ||
isWin <- isWindows | ||
ghc94 <- isGhcVersion "== 9.4.*" | ||
expectBrokenIf (isWin && ghc94) 8451 $ do | ||
cabal' "v2-build" ["script.hs"] | ||
cabalWithStdin "v2-repl" ["script.hs"] "" |
3 changes: 3 additions & 0 deletions
3
cabal-testsuite/PackageTests/NewBuild/CmdBuild/ScriptBuildRun/cabal.test.hs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
import Test.Cabal.Prelude | ||
|
||
main = cabalTest . void $ do | ||
isWin <- isWindows | ||
ghc94 <- isGhcVersion "== 9.4.*" | ||
expectBrokenIf (isWin && ghc94) 8451 $ do | ||
cabal' "v2-build" ["script.hs"] | ||
cabal' "v2-run" ["script.hs"] |
3 changes: 3 additions & 0 deletions
3
cabal-testsuite/PackageTests/NewBuild/CmdBuild/ScriptRerun/cabal.test.hs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
import Test.Cabal.Prelude | ||
|
||
main = cabalTest . void $ do | ||
isWin <- isWindows | ||
ghc94 <- isGhcVersion "== 9.4.*" | ||
expectBrokenIf (isWin && ghc94) 8451 $ do | ||
cabal' "v2-build" ["script.hs"] | ||
cabal' "v2-build" ["script.hs"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
cabal-testsuite/PackageTests/NewBuild/CmdClean/Script/cabal.test.hs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
cabal-testsuite/PackageTests/NewBuild/CmdRun/Script/cabal.test.hs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
cabal-testsuite/PackageTests/NewBuild/CmdRun/ScriptLiterate/cabal.test.hs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
import Test.Cabal.Prelude | ||
|
||
main = cabalTest $ do | ||
isWin <- isWindows | ||
ghc94 <- isGhcVersion "== 9.4.*" | ||
expectBrokenIf (isWin && ghc94) 8451 $ do | ||
res <- cabal' "v2-run" ["script.lhs"] | ||
assertOutputContains "Hello World" res |
3 changes: 3 additions & 0 deletions
3
cabal-testsuite/PackageTests/NewBuild/CmdRun/ScriptNoExtension/cabal.test.hs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
import Test.Cabal.Prelude | ||
|
||
main = cabalTest . void $ do | ||
isWin <- isWindows | ||
ghc94 <- isGhcVersion "== 9.4.*" | ||
expectBrokenIf (isWin && ghc94) 8451 $ do | ||
cabal' "v2-run" ["with sp"] >>= assertOutputContains "Hello World" |
3 changes: 3 additions & 0 deletions
3
cabal-testsuite/PackageTests/NewBuild/CmdRun/ScriptRerun/cabal.test.hs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
import Test.Cabal.Prelude | ||
|
||
main = cabalTest . void $ do | ||
isWin <- isWindows | ||
ghc94 <- isGhcVersion "== 9.4.*" | ||
expectBrokenIf (isWin && ghc94) 8451 $ do | ||
cabal' "v2-run" ["script.hs"] | ||
cabal' "v2-run" ["script.hs"] |
3 changes: 3 additions & 0 deletions
3
cabal-testsuite/PackageTests/NewBuild/CmdRun/ScriptWithProjectBlock/cabal.test.hs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
import Test.Cabal.Prelude | ||
|
||
main = cabalTest $ do | ||
isWin <- isWindows | ||
ghc94 <- isGhcVersion "== 9.4.*" | ||
expectBrokenIf (isWin && ghc94) 8451 $ do | ||
-- script is called "s.hs" to avoid Windows long path issue in CI | ||
res <- cabal' "v2-run" ["s.hs"] | ||
assertOutputContains "Hello World" res |
3 changes: 3 additions & 0 deletions
3
cabal-testsuite/PackageTests/NewBuild/CmdTest/OptionsFlag/cabal.test.hs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters