Skip to content
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

cabal-testsuite\PackageTests\CustomPreProcess\setup.test.hs fails on Windows CI #6627

Closed
phadej opened this issue Mar 30, 2020 · 1 comment
Closed

Comments

@phadej
Copy link
Collaborator

phadej commented Mar 30, 2020

Started to consistently fail 5 or so days ago. Yet. appveyor is happy.

[1 of 1] Compiling Main             ( setup.cabal.dist\work\dist\setup\setup.hs, setup.cabal.dist\work\dist\setup\Main.o )

Linking .\setup.cabal.dist\work\dist\setup\setup.exe ...

D:\a\cabal\cabal\cabal-testsuite\PackageTests\CustomPreProcess\setup.cabal.dist\work\dist\setup\setup.exe configure --verbose=verbose +nowrap +markoutput --builddir=setup.cabal.dist\work\dist --ghc --with-compiler=C:\ProgramData\chocolatey\lib\ghc\tools\ghc-8.6.5\bin\ghc.exe --prefix=D:\a\cabal\cabal\cabal-testsuite\PackageTests\CustomPreProcess\setup.cabal.dist\usr --global --package-db=clear --package-db=global --package-db=C:\SR\ghc-8.6.5\package.db --package-db=D:\a\cabal\cabal\dist-newstyle\packagedb\ghc-8.6.5 --enable-deterministic --ipid=internal-preprocessor-test-0.1.0.0 --dependency=base=base-4.12.0.0 --dependency=base=base-4.12.0.0 --dependency=base=base-4.12.0.0 --dependency=directory=directory-1.3.3.0 --disable-tests --exact-configuration --disable-benchmarks --with-ghc=C:\ProgramData\chocolatey\lib\ghc\tools\ghc-8.6.5\bin\ghc.exe --with-haddock=C:\ProgramData\chocolatey\lib\ghc\tools\ghc-8.6.5\bin\haddock.exe




*** unexpected failure for cabal-testsuite\PackageTests\CustomPreProcess\setup.test.hs

no report why error happens.

@jneira
Copy link
Member

jneira commented Mar 28, 2022

Afact the test is not failing now for all ghcs being tested for windows, it is not beinbg skipped nor marked as a known failure:

import Test.Cabal.Prelude
-- Test internal custom preprocessor
main = setupTest $ do
skipUnless "no Cabal for GHC" =<< hasCabalForGhc
setup_build []
runExe' "hello-world" []
>>= assertOutputContains "hello from A"

So i would close this optimistically

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants