fc8e9929e6bffcff0b5e32f5314f7a10fbdb8a71
[ghc.git] / testsuite / tests / cabal / T12485 / Makefile
1 TOP=../../..
2 include $(TOP)/mk/boilerplate.mk
3 include $(TOP)/mk/test.mk
4
5 T12485 :
6 @rm -rf a.db b.db
7 '$(GHC_PKG)' init a.db
8 '$(GHC_PKG)' -f a.db register a.pkg
9 '$(GHC_PKG)' init b.db
10 '$(GHC_PKG)' -f a.db/ -f b.db/ register b.pkg # register b.pkg in b.db
11 # -package-db in dependency order
12 '$(TEST_HC)' -XNoImplicitPrelude -fforce-recomp -hide-all-packages -no-user-package-db -package-db a.db -package-db b.db -package-id a-1-XXX -package-id b-1-XXX Main.hs
13 # -package-db in reverse dependency order
14 '$(TEST_HC)' -XNoImplicitPrelude -fforce-recomp -hide-all-packages -no-user-package-db -package-db b.db -package-db a.db -package-id a-1-XXX -package-id b-1-XXX Main.hs