code-generators field in test stanza. (#7688)
commit9b300f3d49b40233d30f9b962ade4f131781f7a8
authorgbaz <gershomb@gmail.com>
Fri, 25 Feb 2022 20:27:12 +0000 (25 15:27 -0500)
committerGitHub <noreply@github.com>
Fri, 25 Feb 2022 20:27:12 +0000 (25 15:27 -0500)
tree3cdb0d9055ba98855739df70368f0758ed49a878
parent1c3cf3a195705e547672c88cb50bb01a2d81c972
code-generators field in test stanza. (#7688)

* wip to add test-code-generators field to test stanzas

* fixups

* change hashes

* regen golden parser test output

* docs and changelog

* test

* Update pr-7688

* tweak test

Co-authored-by: Gershom Bazerman <gershom@arista.com>
30 files changed:
Cabal-syntax/src/Distribution/PackageDescription/FieldGrammar.hs
Cabal-syntax/src/Distribution/PackageDescription/Parsec.hs
Cabal-syntax/src/Distribution/Types/TestSuite.hs
Cabal-tests/tests/ParserTests/regressions/Octree-0.5.expr
Cabal-tests/tests/ParserTests/regressions/common-conditional.expr
Cabal-tests/tests/ParserTests/regressions/common.expr
Cabal-tests/tests/ParserTests/regressions/common2.expr
Cabal-tests/tests/ParserTests/regressions/common3.expr
Cabal-tests/tests/ParserTests/regressions/generics-sop.expr
Cabal-tests/tests/ParserTests/regressions/hasktorch.expr
Cabal-tests/tests/ParserTests/regressions/issue-5055.expr
Cabal-tests/tests/ParserTests/regressions/jaeger-flamegraph.expr
Cabal-tests/tests/ParserTests/regressions/shake.expr
Cabal-tests/tests/ParserTests/regressions/th-lift-instances.expr
Cabal-tests/tests/UnitTests/Distribution/Utils/Structured.hs
Cabal/src/Distribution/Simple/Build.hs
Cabal/src/Distribution/Simple/PreProcess.hs
cabal-testsuite/PackageTests/TestCodeGenerator/Foo.hs [new file with mode: 0644]
cabal-testsuite/PackageTests/TestCodeGenerator/cabal.out [new file with mode: 0644]
cabal-testsuite/PackageTests/TestCodeGenerator/cabal.project [new file with mode: 0644]
cabal-testsuite/PackageTests/TestCodeGenerator/cabal.test.hs [new file with mode: 0644]
cabal-testsuite/PackageTests/TestCodeGenerator/my.cabal [new file with mode: 0644]
cabal-testsuite/PackageTests/TestCodeGenerator/test-code-gen/CHANGELOG.md [new file with mode: 0644]
cabal-testsuite/PackageTests/TestCodeGenerator/test-code-gen/LICENSE [new file with mode: 0644]
cabal-testsuite/PackageTests/TestCodeGenerator/test-code-gen/app/Main.hs [new file with mode: 0644]
cabal-testsuite/PackageTests/TestCodeGenerator/test-code-gen/test-code-gen.cabal [new file with mode: 0644]
cabal-testsuite/PackageTests/TestCodeGenerator/tests/blank [new file with mode: 0644]
changelog.d/pr-7688 [new file with mode: 0644]
doc/cabal-package.rst
doc/file-format-changelog.rst