summaryrefslogtreecommitdiff
path: root/testsuite/tests/plugins
diff options
context:
space:
mode:
authorDuncan Coutts <duncan@well-typed.com>2014-08-27 16:33:20 +0100
committerEdward Z. Yang <ezyang@cs.stanford.edu>2014-08-29 15:03:33 +0100
commitda7289882610ccae3f16c74be7440d19c29ecd20 (patch)
tree2d374702f29d934ac872de47661c4bda2d4827fe /testsuite/tests/plugins
parent01461ce86f9d4bd3a4969b43aa9d237949ca3ce6 (diff)
downloadhaskell-da7289882610ccae3f16c74be7440d19c29ecd20.tar.gz
Change testsuite to not use old-style file package databases
Now uses ghc-pkg init. The file-style databases are no longer supported.
Diffstat (limited to 'testsuite/tests/plugins')
-rw-r--r--testsuite/tests/plugins/simple-plugin/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/plugins/simple-plugin/Makefile b/testsuite/tests/plugins/simple-plugin/Makefile
index 17588bf3fb..eb7cc6ab1d 100644
--- a/testsuite/tests/plugins/simple-plugin/Makefile
+++ b/testsuite/tests/plugins/simple-plugin/Makefile
@@ -13,7 +13,7 @@ package.%:
mkdir pkg.$*
"$(TEST_HC)" -outputdir pkg.$* --make -v0 -o pkg.$*/setup Setup.hs
- echo "[]" > pkg.$*/local.package.conf
+ "$(GHC_PKG)" init pkg.$*/local.package.conf
pkg.$*/setup configure --distdir pkg.$*/dist -v0 $(CABAL_PLUGIN_BUILD) --prefix="$(HERE)/pkg.$*/install" --with-compiler="$(TEST_HC)" --with-hc-pkg="$(GHC_PKG)" --package-db=pkg.$*/local.package.conf
pkg.$*/setup build --distdir pkg.$*/dist -v0