-
Notifications
You must be signed in to change notification settings - Fork 712
Support GHC 9.4 #8420
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Support GHC 9.4 #8420
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
6a9e08f
default-extensions: type operators to compile with 9.4
ulysses4ever 56cd22c
still broken with GHC 9.4: PackageTests/Backpack/Includes2/setup-per-…
ulysses4ever 915a5ba
fix probable Windows FFI test issue
ulysses4ever e4e5d89
mark Windows tests failing with GHC 9.4 as broken
ulysses4ever 78cbeba
more Windows tests failing on GHC 9.4 marked broken
ulysses4ever 2dc723b
cabal-testsuite: add conditional to setup-depends to make all build
ulysses4ever 5f905a9
enable GHC 9.4, add it to CI
andreasabel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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
2 changes: 1 addition & 1 deletion
2
cabal-testsuite/PackageTests/Backpack/Includes2/setup-external.test.hs
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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" [] |
This file contains hidden or 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 hidden or 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/CmdBench/OptionsFlag/cabal.test.hs
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.