Skip to content

Commit

Permalink
Fix testsuite
Browse files Browse the repository at this point in the history
  • Loading branch information
ffaf1 committed Nov 27, 2023
1 parent 15719e3 commit 9da5af5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cabal-tests/tests/UnitTests/Distribution/Utils/Structured.hs
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ tests = testGroup "Distribution.Utils.Structured"
-- The difference is in encoding of newtypes
#if MIN_VERSION_base(4,7,0)
, testCase "GenericPackageDescription" $
md5Check (Proxy :: Proxy GenericPackageDescription) 0xb287a6f04e34ef990cdd15bc6cb01c76
md5Check (Proxy :: Proxy GenericPackageDescription) 0x6dd3f04bcaf36c8a5f617c7d0aff5962
, testCase "LocalBuildInfo" $
md5Check (Proxy :: Proxy LocalBuildInfo) 0x26e91a71ebd19d4d6ce37f798ede249a
md5Check (Proxy :: Proxy LocalBuildInfo) 0x2f1c329dcbdf9e49a64d44a139fcd622
#endif
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
The following errors will cause portability problems on other environments:
Error: Packages using 'cabal-version: 2.0' and the autogenerated module Paths_* must include it also on the 'autogen-modules' field besides 'exposed-modules' and 'other-modules'. This specifies that the module does not come with the package and is generated on setup. Modules built with a custom Setup.hs script also go here to ensure that commands like sdist don't fail.
Error: Packages using 'cabal-version: 2.0' and the autogenerated module PackageInfo_* must include it in 'autogen-modules' as well as 'exposed-modules' and 'other-modules'. This specifies that the module does not come with the package and is generated on setup. Modules built with a custom Setup.hs script also go here to ensure that commands like sdist don't fail.
Error: To use the autogenerated module PackageInfo_* you need to specify `cabal-version: 3.12` or higher.
Error: Hackage would reject this package.
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@
The package will not build sanely due to these errors:
Error: Packages using RebindableSyntax with OverloadedStrings or OverloadedLists in default-extensions, in conjunction with the autogenerated module Paths_*, are known to cause compile failures with Cabal < 2.2. To use these default-extensions with a Paths_* autogen module, specify at least 'cabal-version: 2.2'.
Error: Packages using RebindableSyntax with OverloadedStrings or OverloadedLists in default-extensions, in conjunction with the autogenerated module PackageInfo_*, are known to cause compile failures with Cabal < 2.2. To use these default-extensions with a PackageInfo_* autogen module, specify at least 'cabal-version: 2.2'.
The following errors will cause portability problems on other environments:
Error: To use the autogenerated module PackageInfo_* you need to specify `cabal-version: 3.12` or higher.
Error: Hackage would reject this package.

0 comments on commit 9da5af5

Please sign in to comment.