diff options
author | Thomas Miedema <thomasmiedema@gmail.com> | 2015-02-23 03:40:23 -0600 |
---|---|---|
committer | Austin Seipp <austin@well-typed.com> | 2015-02-23 03:40:24 -0600 |
commit | 30dc59e889205ee62ce77168616f7a4183811d74 (patch) | |
tree | 504a8105372321652fae18845f82d107705ccd63 /testsuite/driver | |
parent | fd581a7300abede9a070cb6e9b835b2e18f68b0b (diff) | |
download | haskell-30dc59e889205ee62ce77168616f7a4183811d74.tar.gz |
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=<inplace-ghc>
--with-package-db=<inplace-package-db>`
<package>
Reviewers: austin
Reviewed By: austin
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D668
Diffstat (limited to 'testsuite/driver')
-rw-r--r-- | testsuite/driver/testlib.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 |