(cabal check) Add "No internal name clash" test
[cabal.git] / cabal-testsuite / PackageTests / Configure / cabal.test.hs
blobafcc00cbf7a8b2211391efc925fabfa2842892f4
1 import Test.Cabal.Prelude
2 import Control.Monad.IO.Class
3 import Data.Maybe
4 import System.Directory
5 -- Test for 'build-type: Configure' example from the setup manual.
6 main = cabalTest $ do
7 hasAutoreconf <- liftIO $ fmap isJust $ findExecutable "autoreconf"
8 skipUnless "no autoreconf" hasAutoreconf
9 _ <- shell "autoreconf" ["-i"]
10 cabal "v2-build" []