Add test cases that reproduce #7241.
[cabal.git] / cabal-testsuite / PackageTests / ExtraProgPath / setup.test.hs
blob80ee56f6287bf588b6e91a3bd4480ccefba74003
1 import Test.Cabal.Prelude
3 -- Test that extra-prog-path overrides the path for pkg-config
4 main = cabalTest $ do
5 -- skipped on windows because using a script to dummy up an executable doesn't work the same.
6 skipIfWindows
7 cdir <- testCurrentDir `fmap` getTestEnv
8 fails $ cabal "v2-build" ["--extra-prog-path="++cdir]