(cabal check) Add "Autogen include" test for ts
[cabal.git] / cabal-testsuite / PackageTests / Configure / setup.test.hs
blob559b88c6ff250162d1a3b5904e9c7c7b8fcfb13f
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 = setupTest $ do
7 hasAutoreconf <- liftIO $ fmap isJust $ findExecutable "autoreconf"
8 skipUnless "no autoreconf" hasAutoreconf
9 _ <- shell "autoreconf" ["-i"]
10 setup_build []