diff options
author | Andreas Klebinger <klebinger.andreas@gmx.at> | 2020-11-02 13:23:58 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-11-04 16:47:59 -0500 |
commit | b790b7f91104197429cd80e2c192a6fcda9dd6b4 (patch) | |
tree | 777dc5a4bfce5ca7016b8845ba57e829c2c596d7 /testsuite/driver/testglobals.py | |
parent | bb100805337adc666867da300ee5b0b11c18fe00 (diff) | |
download | haskell-b790b7f91104197429cd80e2c192a6fcda9dd6b4.tar.gz |
Testsuite: Support for user supplied package dbs
We can now supply additional package dbs to the testsuite.
For make the package db can be supplied by
passing PACKAGE_DB=/path/to/db.
In the testsuite driver it's passed via the --test-package-db
argument.
Diffstat (limited to 'testsuite/driver/testglobals.py')
-rw-r--r-- | testsuite/driver/testglobals.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/driver/testglobals.py b/testsuite/driver/testglobals.py index 1cfa451cca..71a81bf509 100644 --- a/testsuite/driver/testglobals.py +++ b/testsuite/driver/testglobals.py @@ -169,6 +169,9 @@ class TestConfig: # Baseline commit for performane metric comparisons. self.baseline_commit = None # type: Optional[GitRef] + # Additional package dbs to inspect for test dependencies. + self.test_package_db = [] # type: [PathToPackageDb] + # Should we skip performance tests self.skip_perf_tests = False |