diff --git a/cabal-testsuite/PackageTests/ConditionalAndImport/cabal.test.hs b/cabal-testsuite/PackageTests/ConditionalAndImport/cabal.test.hs index 22e16ba23a3..36f705da064 100644 --- a/cabal-testsuite/PackageTests/ConditionalAndImport/cabal.test.hs +++ b/cabal-testsuite/PackageTests/ConditionalAndImport/cabal.test.hs @@ -3,7 +3,8 @@ import Test.Cabal.Prelude normalizeWindowsOutput :: String -> String normalizeWindowsOutput = if isWindows then map (\x -> case x of '/' -> '\\'; _ -> x) else id -main = cabalTest . withRepo "repo" . recordMode RecordMarked $ do +main = skipIfWindows "" >>= \_ -> cabalTest . withRepo "repo" . recordMode RecordMarked $ do + let log = recordHeader . pure cabal "v2-run" [ "some-exe" ]