Add “Ignore warning” option to cabal check
[cabal.git] / cabal-testsuite / PackageTests / NewSdist / MultiTarget / valid-and-test-suite.test.hs
blob0e2c15193c52f54b0104257256c8b9c0d9df4eca
1 import Test.Cabal.Prelude
2 main = cabalTest $ withSourceCopy $ do
3 cwd <- fmap testCurrentDir getTestEnv
4 fails $ cabal "v2-sdist" ["a", "b", "a-tests"]
5 shouldNotExist $ cwd </> "dist-newstyle/sdist/a-0.1.tar.gz"
6 shouldNotExist $ cwd </> "dist-newstyle/sdist/b-0.1.tar.gz"