diff --git a/cabal-install/tests/IntegrationTests2.hs b/cabal-install/tests/IntegrationTests2.hs index 9f9b9e8ac36..faeb4116f81 100644 --- a/cabal-install/tests/IntegrationTests2.hs +++ b/cabal-install/tests/IntegrationTests2.hs @@ -869,15 +869,6 @@ testTargetProblemsRun config reportSubCase = do [ ( CmdRun.TargetProblemNoTargets, mkTargetPackage "p-0.1" ) ] - reportSubCase "test-only" - assertProjectTargetProblems - "targets/test-only" config - CmdRun.selectPackageTargets - CmdRun.selectComponentTarget - CmdRun.TargetProblemCommon - [ ( CmdRun.TargetProblemNoExes, mkTargetPackage "p-0.1" ) - ] - reportSubCase "variety" assertProjectTargetProblems "targets/variety" config diff --git a/cabal-install/tests/IntegrationTests2/targets/test-only/p.cabal b/cabal-install/tests/IntegrationTests2/targets/test-only/p.cabal deleted file mode 100644 index ed911644f8d..00000000000 --- a/cabal-install/tests/IntegrationTests2/targets/test-only/p.cabal +++ /dev/null @@ -1,9 +0,0 @@ -name: p -version: 0.1 -build-type: Simple -cabal-version: >= 1.2 - -test-suite pexe - type: exitcode-stdio-1.0 - main-is: Main.hs - other-modules: PMain