Commit 71921c78 authored by ttuegel's avatar ttuegel
Browse files

remove PackageTests/BuildTestSuiteDetailedV09

parent 69fb30ce
......@@ -74,8 +74,6 @@ extra-source-files:
tests/PackageTests/BuildDeps/TargetSpecificDeps3/MyLibrary.hs
tests/PackageTests/BuildDeps/TargetSpecificDeps3/lemon.hs
tests/PackageTests/BuildDeps/TargetSpecificDeps3/my.cabal
tests/PackageTests/BuildTestSuiteDetailedV09/Dummy.hs
tests/PackageTests/BuildTestSuiteDetailedV09/my.cabal
tests/PackageTests/CMain/Bar.hs
tests/PackageTests/CMain/Setup.hs
tests/PackageTests/CMain/foo.c
......@@ -117,7 +115,7 @@ extra-source-files:
tests/PackageTests/TestSuiteTests/ExeV10/tests/test-Foo.hs
tests/PackageTests/TestSuiteTests/LibV09/LibV09.cabal
tests/PackageTests/TestSuiteTests/LibV09/Lib.hs
tests/PackageTests/TestSuiteTests/LibV09/Deadlock.hs
tests/PackageTests/TestSuiteTests/LibV09/tests/Deadlock.hs
tests/Setup.hs
tests/hackage/check.sh
tests/hackage/download.sh
......@@ -295,7 +293,6 @@ test-suite package-tests
PackageTests.BuildDeps.TargetSpecificDeps1.Check
PackageTests.BuildDeps.TargetSpecificDeps2.Check
PackageTests.BuildDeps.TargetSpecificDeps3.Check
PackageTests.BuildTestSuiteDetailedV09.Check
PackageTests.CMain.Check
PackageTests.DeterministicAr.Check
PackageTests.EmptyLib.Check
......
......@@ -20,7 +20,6 @@ import PackageTests.BuildDeps.SameDepsAllRound.Check
import PackageTests.BuildDeps.TargetSpecificDeps1.Check
import PackageTests.BuildDeps.TargetSpecificDeps2.Check
import PackageTests.BuildDeps.TargetSpecificDeps3.Check
import PackageTests.BuildTestSuiteDetailedV09.Check
import PackageTests.PackageTester (PackageSpec(..), SuiteConfig(..), compileSetup)
import PackageTests.PathsModule.Executable.Check
import PackageTests.PathsModule.Library.Check
......@@ -102,10 +101,8 @@ tests config version =
, testCase "DeterministicAr"
(PackageTests.DeterministicAr.Check.suite config)
, testCase "EmptyLib/emptyLib"
(PackageTests.EmptyLib.Check.emptyLib config)
, testCase "Haddock" (PackageTests.Haddock.Check.suite config)
, testCase "BuildTestSuiteDetailedV09"
(PackageTests.BuildTestSuiteDetailedV09.Check.suite config)
(PackageTests.EmptyLib.Check.emptyLib ghcPath)
, testCase "Haddock" (PackageTests.Haddock.Check.suite ghcPath)
, testCase "OrderFlags"
(PackageTests.OrderFlags.Check.suite config)
, testCase "TemplateHaskell/dynamic"
......
module PackageTests.BuildTestSuiteDetailedV09.Check where
import Test.Tasty.HUnit
import System.FilePath ((</>))
import PackageTests.PackageTester
suite :: SuiteConfig -> Assertion
suite config = do
let dir = "PackageTests" </> "BuildTestSuiteDetailedV09"
spec = (inplaceSpec config)
{ directory = dir
, configOpts = "--enable-tests" : configOpts (inplaceSpec config)
}
confResult <- cabal_configure config spec
assertConfigureSucceeded confResult
buildResult <- cabal_build config spec
assertBuildSucceeded buildResult
testResult <- cabal_test config spec [] ["test-Dummy", "test-Dummy2"]
assertTestSucceeded testResult
module Dummy where
import Distribution.TestSuite (Test)
tests :: IO [Test]
tests = return []
name: BuildTestSuiteDetailedV09
version: 0.1
cabal-version: >= 1.2
license: BSD3
author: Thomas Tuegel
stability: stable
category: PackageTests
build-type: Simple
description:
Check that Cabal can build test suites of type detailed-0.9.
Library
exposed-modules: Dummy
build-depends: base, Cabal
test-suite test-Dummy
type: detailed-0.9
test-module: Dummy
build-depends: base, Cabal
test-suite test-Dummy2
type: detailed-0.9
test-module: Dummy2
build-depends: base, Cabal
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment