File tree Expand file tree Collapse file tree 3 files changed +9
-8
lines changed
cabal-testsuite/PackageTests/Backpack/Includes3 Expand file tree Collapse file tree 3 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 79
79
" 8.8.4" ,
80
80
]
81
81
exclude :
82
+ # Throws fatal "cabal-tests.exe: fd:8: hGetLine: end of file" exception
83
+ # even with --io-manager=native
84
+ - sys :
85
+ { os: windows-latest, shell: "C:/msys64/usr/bin/bash.exe -e {0}" }
86
+ ghc : " 9.0.2"
82
87
# corrupts GHA cache or the fabric of reality itself, see https://github.com/haskell/cabal/issues/8356
83
88
- sys :
84
89
{ os: windows-latest, shell: "C:/msys64/usr/bin/bash.exe -e {0}" }
@@ -211,7 +216,6 @@ jobs:
211
216
run : sh validate.sh $FLAGS -s cli-tests
212
217
213
218
- name : Validate cli-suite
214
- if : runner.os != 'Windows'
215
219
run : sh validate.sh $FLAGS -s cli-suite
216
220
217
221
- name : Validate solver-benchmarks-tests
Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ import Test.Cabal.Prelude
3
3
main = cabalTest $ do
4
4
ghcVer <- isGhcVersion " >= 9.10"
5
5
skipUnlessGhcVersion " >= 8.1"
6
- expectBrokenIf (isWindows && ghcVer) 10191 $ withProjectFile " cabal.external.project" $ do
6
+ skipIf " Windows + 9.10.1 (#10191)" (isWindows && ghcVer)
7
+ withProjectFile " cabal.external.project" $ do
7
8
cabal " v2-build" [" exe" ]
8
9
withPlan $ do
9
10
r <- runPlanExe' " exe" " exe" []
Original file line number Diff line number Diff line change @@ -324,12 +324,8 @@ CABAL_TESTSUITE_BDIR="$(pwd)/$BUILDDIR/build/$ARCH/$BASEHC/cabal-testsuite-3"
324
324
CABALNEWBUILD=" ${CABAL} build $JOBS -w $HC --builddir=$BUILDDIR --project-file=$PROJECTFILE "
325
325
CABALLISTBIN=" ${CABAL} list-bin --builddir=$BUILDDIR --project-file=$PROJECTFILE "
326
326
327
- # This was needed in some local Windows MSYS2 environments
328
- # but breaks CI for Windows + GHC 9.0.2, thus it is set only on non-CI executions
329
- # of validate.sh
330
- # https://github.com/haskell/cabal/issues/9571
331
- # https://github.com/haskell/cabal/pull/10114
332
- RTSOPTS=" $( [ $ARCH = " x86_64-windows" ] && [ -z " $CI " ] && [ " $( $HC --numeric-version) " != " 8.10.7" ] && echo " +RTS --io-manager=native" || echo " " ) "
327
+ # See https://github.com/haskell/cabal/issues/9571 for why we set this for Windows
328
+ RTSOPTS=" $( [ $ARCH = " x86_64-windows" ] && [ " $( $HC --numeric-version) " != " 9.0.2" ] && [ " $( echo -e " $( ghc --numeric-version) \n9.0.2" | sort -V | head -n1) " = " 9.0.2" ] && echo " +RTS --io-manager=native" || echo " " ) "
333
329
334
330
# header
335
331
# ######################################################################
You can’t perform that action at this time.
0 commit comments