diff --git a/cabal-testsuite/PackageTests/WorkingDirRel/WD_NO_MENTION/CHANGELOG.md b/cabal-testsuite/PackageTests/WorkingDirRel/WD_NO_MENTION/CHANGELOG.md new file mode 100644 index 00000000000..2959e9a055b --- /dev/null +++ b/cabal-testsuite/PackageTests/WorkingDirRel/WD_NO_MENTION/CHANGELOG.md @@ -0,0 +1,5 @@ +# Revision history for n + +## 0.1.0.0 -- YYYY-mm-dd + +* First version. Released on an unsuspecting world. diff --git a/cabal-testsuite/PackageTests/WorkingDirRel/WD_NO_MENTION/app/Main.hsc b/cabal-testsuite/PackageTests/WorkingDirRel/WD_NO_MENTION/app/Main.hsc new file mode 100644 index 00000000000..918e213f57b --- /dev/null +++ b/cabal-testsuite/PackageTests/WorkingDirRel/WD_NO_MENTION/app/Main.hsc @@ -0,0 +1,3 @@ +module Main where + +main = print () diff --git a/cabal-testsuite/PackageTests/WorkingDirRel/WD_NO_MENTION/n.cabal b/cabal-testsuite/PackageTests/WorkingDirRel/WD_NO_MENTION/n.cabal new file mode 100644 index 00000000000..83acab380b3 --- /dev/null +++ b/cabal-testsuite/PackageTests/WorkingDirRel/WD_NO_MENTION/n.cabal @@ -0,0 +1,19 @@ +cabal-version: 3.0 +name: n +version: 0.1.0.0 +license: NONE +author: Matthew Pickering +maintainer: matthewtpickering@gmail.com +build-type: Simple +extra-doc-files: CHANGELOG.md + +common warnings + ghc-options: -Wall + +executable n + import: warnings + main-is: Main.hs + build-depends: base + hs-source-dirs: app + build-tool-depends: hsc2hs:hsc2hs + default-language: Haskell2010 diff --git a/cabal-testsuite/PackageTests/WorkingDirRel/setup.test.hs b/cabal-testsuite/PackageTests/WorkingDirRel/setup.test.hs new file mode 100644 index 00000000000..01fbfb9795c --- /dev/null +++ b/cabal-testsuite/PackageTests/WorkingDirRel/setup.test.hs @@ -0,0 +1,4 @@ +import Test.Cabal.Prelude + +main = setupTest $ recordMode DoNotRecord $ do + withDirectory "WD_NO_MENTION" $ setup_build []