(cabal check) Add "No internal name clash" test
[cabal.git] / cabal-testsuite / PackageTests / CustomDep / cabal.test.hs
blobb1c3aa9880265424b5957f294feafe387158c4cd
1 import Test.Cabal.Prelude
2 main = cabalTest $ do
3 -- NB: This variant seems to use the bootstrapped Cabal?
4 skipUnless "no Cabal for GHC" =<< hasCabalForGhc
5 -- implicit setup-depends conflict with GHC >= 8.2; c.f. #415
6 skipUnlessGhcVersion "< 8.2"
7 -- This test depends heavily on what packages are in the global
8 -- database, don't record the output
9 recordMode DoNotRecord $ do
10 -- TODO: Hack, delete me
11 withEnvFilter (`notElem` ["HOME", "CABAL_DIR"]) $ do
12 cabal "v2-build" ["all"]