From 30dc59e889205ee62ce77168616f7a4183811d74 Mon Sep 17 00:00:00 2001 From: Thomas Miedema Date: Mon, 23 Feb 2015 03:40:23 -0600 Subject: Always ignore user-package-db when running tests Summary: The user package database was already ignored for systems that `have_subprocess`. To [wiki:Debugging/InstallingPackagesInplace install] a package inplace: `cabal install --with-compiler= --with-package-db=` Reviewers: austin Reviewed By: austin Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D668 --- testsuite/driver/testlib.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testsuite/driver') diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py index 6fc86e4c5a..ac6d97cab4 100644 --- a/testsuite/driver/testlib.py +++ b/testsuite/driver/testlib.py @@ -114,8 +114,8 @@ def _reqlib( name, opts, lib ): p.communicate() r = p.wait() else: - r = os.system(config.ghc_pkg + ' describe ' + lib - + ' > /dev/null 2> /dev/null') + r = os.system(config.ghc_pkg + ' --no-user-package-db describe ' + + lib + ' > /dev/null 2> /dev/null') got_it = r == 0 have_lib[lib] = got_it -- cgit v1.2.1