We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b36f3f commit 7dba4e5Copy full SHA for 7dba4e5
cabal-testsuite/src/Test/Cabal/Prelude.hs
@@ -803,6 +803,9 @@ isGhcVersion range = do
803
skipUnlessGhcVersion :: String -> TestM ()
804
skipUnlessGhcVersion range = skipUnless ("needs ghc " ++ range) =<< isGhcVersion range
805
806
+skipIfGhcVersion :: String -> TestM ()
807
+skipIfGhcVersion range = skipUnless ("incompatible with ghc " ++ range) =<< isGhcVersion range
808
+
809
isWindows :: TestM Bool
810
isWindows = return (buildOS == Windows)
811
0 commit comments