Commit c6cab9d9 authored by Herbert Valerio Riedel's avatar Herbert Valerio Riedel 🕺
Browse files

Remove `cabal07`-test broken by e4cc19de

This test is no longer legitimate as the feature it tests was removed
from Cabal via
parent e4cc19de
include $(TOP)/mk/
include $(TOP)/mk/
SETUP=../Setup -v0
# This test is for a Cabal package with thinning and renaming
cabal07: clean
$(MAKE) clean
'$(TEST_HC)' -v0 --make Setup
cd p && $(SETUP) clean
cd p && $(SETUP) configure $(CABAL_MINIMAL_BUILD) --with-ghc='$(TEST_HC)' --ghc-options='$(TEST_HC_OPTS)' --prefix='$(PWD)/inst-p' --constraint="containers>=0"
cd p && ! $(SETUP) build
ifneq "$(CLEANUP)" ""
$(MAKE) clean
clean :
'$(GHC_PKG)' unregister --force p >/dev/null 2>&1 || true
$(RM) -r tmp.d inst-* *.o *.hi */*.o */*.hi */Setup$(exeext) */dist Setup$(exeext)
import Distribution.Simple
main = defaultMain
if default_testopts.cleanup != '':
cleanup = 'CLEANUP=1'
cleanup = ''
['$MAKE -s --no-print-directory cabal07 ' + cleanup])
Q.hs:3:1: error:
Failed to load interface for ‘Data.Set’
It is a member of the hidden package ‘containers-’.
Perhaps you need to add ‘containers’ to the build-depends in your .cabal file.
Use -v to see a list of the files searched for.
module P where
import qualified Set
import qualified Seq
import qualified Seq2
import qualified Control.DeepSeq
module Q where
import P
import Data.Set
name: p
version: 1.0
license-file: LICENSE
author: Edward Z. Yang
build-type: Simple
cabal-version: >=1.20
exposed-modules: P, Q
build-depends: base, containers >= 0.1 (Data.Set as Set), deepseq (> 0.2 && > 0.1) with (Control.DeepSeq as Seq, Control.DeepSeq as Seq2)
default-language: Haskell2010
Markdown is supported
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