Skip to content

Commit

Permalink
Turn off T3827 for Linux and OSX due to heisenbugs not caused by cabal (
Browse files Browse the repository at this point in the history
#8338)

* Turn off T3827 for new GHCs due to heisenbugs not caused by cabal

* Disable the test totally on Linux until we stop taking GHC from GHA

See #8032 (comment)

* It failed on OSX now, so let's disable it everywhere except on Windows

Who would have thought.

(cherry picked from commit 91a343f)
  • Loading branch information
Mikolaj authored and mergify[bot] committed Aug 10, 2022
1 parent 3380f58 commit bcd7829
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions cabal-testsuite/PackageTests/NewBuild/T3827/cabal.test.hs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import Test.Cabal.Prelude
main = cabalTest $ do
linux <- isLinux
missesProfilingLinux <- isGhcVersion ">= 9.0.2"
osx <- isOSX
missesProfilingOsx <- isGhcVersion ">= 8.10.7"
expectBrokenIf (linux && missesProfilingLinux || osx && missesProfilingOsx) 8032 $
cabal "v2-build" ["exe:q"]
skipIf "8032 heisenbug profiling" (linux || osx)
cabal "v2-build" ["exe:q"]

0 comments on commit bcd7829

Please sign in to comment.