Skip to content

Commit

Permalink
Update test expectations with --accept in other tests
Browse files Browse the repository at this point in the history
  • Loading branch information
philderbeast committed Nov 19, 2024
1 parent 1121f5e commit 8ca45cf
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
# cabal check
The package will not build sanely due to these errors:
Error: [impossible-dep] The package has an impossible version range for a dependency on an internal library: pkg:internal >1.0 && <2.0. This version range does not include the current package, and must be removed as the current package's library will always be used.
These warnings may cause trouble when distributing the package:
Warning: [trailing-zero-upper-bounds] On library, these packages have upper bounds with trailing zeros:
- pkg
Please avoid trailing zeros for upper bounds. There is more information at https://pvp.haskell.org/
Warning: [greater-than-lower-bounds] On library, these packages have greater than (>) lower bounds:
- pkg
Please use greater than or equals (>=) for lower bounds. There is more information at https://pvp.haskell.org/
Error: Hackage would reject this package.
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# cabal check
No errors or warnings could be found in the package.
These warnings may cause trouble when distributing the package:
Warning: [less-than-equals-upper-bounds] On library, these packages have less than or equals (<=) upper bounds:
- base
Please use less than (<) for upper bounds. There is more information at https://pvp.haskell.org/
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ These warnings may cause trouble when distributing the package:
Warning: [missing-upper-bounds] On executable 'prova', these packages miss upper bounds:
- acme-box
Please add them. There is more information at https://pvp.haskell.org/
Warning: [trailing-zero-upper-bounds] On library, these packages have upper bounds with trailing zeros:
- text
Please avoid trailing zeros for upper bounds. There is more information at https://pvp.haskell.org/
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,9 @@ These warnings may cause trouble when distributing the package:
Warning: [missing-upper-bounds] On library 'int-lib', these packages miss upper bounds:
- text
Please add them. There is more information at https://pvp.haskell.org/
Warning: [less-than-equals-upper-bounds] On library, these packages have less than or equals (<=) upper bounds:
- base
Please use less than (<) for upper bounds. There is more information at https://pvp.haskell.org/
Warning: [greater-than-lower-bounds] On library 'int-lib', these packages have greater than (>) lower bounds:
- text
Please use greater than or equals (>=) for lower bounds. There is more information at https://pvp.haskell.org/
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
# cabal check
No errors or warnings could be found in the package.
These warnings may cause trouble when distributing the package:
Warning: [less-than-equals-upper-bounds] On library, these packages have less than or equals (<=) upper bounds:
- base
Please use less than (<) for upper bounds. There is more information at https://pvp.haskell.org/
Warning: [greater-than-lower-bounds] On library, these packages have greater than (>) lower bounds:
- base
Please use greater than or equals (>=) for lower bounds. There is more information at https://pvp.haskell.org/
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# cabal check
These warnings may cause trouble when distributing the package:
Warning: [greater-than-lower-bounds] On custom-setup, these packages have greater than (>) lower bounds:
- base
Please use greater than or equals (>=) for lower bounds. There is more information at https://pvp.haskell.org/
The following errors will cause portability problems on other environments:
Error: [missing-bounds-setup] The dependency 'setup-depends: 'base' does not specify an upper bound on the version number. Each major release of the 'base' package changes the API in various ways and most packages will need some changes to compile with it. If you are not sure what upper bound to use then use the next major version.
Error: Hackage would reject this package.
6 changes: 3 additions & 3 deletions cabal-testsuite/PackageTests/CustomTestCoverage/cabal.out
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Building test suite 'test' for plain-0.1.0.0...
Running 1 test suites...
Test suite test: RUNNING...
Test suite test: PASS
Test suite logged to: <ROOT>/cabal.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/plain-0.1.0.0/test/plain-0.1.0.0-test.log
Package coverage report written to <ROOT>/cabal.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/plain-0.1.0.0/hpc/vanilla/html/hpc_index.html
Test suite logged to: cabal.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/plain-0.1.0.0/test/plain-0.1.0.0-test.log
Package coverage report written to cabal.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/plain-0.1.0.0/hpc/vanilla/html/hpc_index.html
1 of 1 test suites (1 of 1 test cases) passed.
Package coverage report written to <ROOT>/cabal.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/plain-0.1.0.0/hpc/vanilla/html/hpc_index.html
Package coverage report written to cabal.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/plain-0.1.0.0/hpc/vanilla/html/hpc_index.html

0 comments on commit 8ca45cf

Please sign in to comment.