Skip to content
Snippets Groups Projects
Commit 156fb34c authored by f-a's avatar f-a Committed by Mergify
Browse files

(cabal check) Add "Autogen include" test for bm

All in `autogen-includes` hs to be in either `includes` or
`install-includes` (benchmark).
parent 318fb290
No related branches found
No related tags found
No related merge requests found
# cabal check
Warning: The package will not build sanely due to these errors:
Warning: An include in 'autogen-includes' is not in 'includes'.
Warning: Hackage would reject this package.
import Test.Cabal.Prelude
-- All `autogen-includes` should appear in `install-includes` or
-- `includes` (benchmark).
main = cabalTest $
fails $ cabal "check" []
cabal-version: 3.0
name: pkg
synopsis: synopsis
description: description
version: 0
category: example
maintainer: none@example.com
license: GPL-3.0-or-later
benchmark benchmark
main-is: Main.hs
autogen-includes: AutoGenInc
default-language: Haskell2010
type: exitcode-stdio-1.0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment