Skip to content

Commit

Permalink
Add test skeleton for haskell#6906
Browse files Browse the repository at this point in the history
  • Loading branch information
jneira committed Oct 15, 2021
1 parent 5d8f05b commit bf170e5
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cabal-testsuite/PackageTests/Regression/T6906/cabal.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
extra-include-dirs: foo
extra-lib-dirs: bar
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
packages: .
4 changes: 4 additions & 0 deletions cabal-testsuite/PackageTests/Regression/T6906/cabal.test.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import Test.Cabal.Prelude
main = cabalTest $
-- this should not fail, just warn.
cabal' "v2-install" []
12 changes: 12 additions & 0 deletions cabal-testsuite/PackageTests/Regression/T6906/issue6906.cabal
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
cabal-version: 2.4
name: issue6906
version: 0
synopsis: No duplicate entries for extra-*-dirs config options in the inouts used to compute the package hash
description: When informed in the global config
author: Javier Neira
category: Tests
maintainer: atreyu.bbb@gmail.com

executable issue6906
build-depends: base <5
main-is: main.hs
1 change: 1 addition & 0 deletions cabal-testsuite/PackageTests/Regression/T6906/main.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
main = putStrLn "Hello issue6906"

0 comments on commit bf170e5

Please sign in to comment.