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/mk/test.mk | |
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/mk/test.mk')
-rw-r--r-- | testsuite/mk/test.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/mk/test.mk b/testsuite/mk/test.mk index 64c8550ce7..cc30266829 100644 --- a/testsuite/mk/test.mk +++ b/testsuite/mk/test.mk @@ -216,6 +216,10 @@ ifneq "$(THREADS)" "" RUNTEST_OPTS += --threads=$(THREADS) endif +ifneq "$(PACKAGE_DB)" "" +RUNTEST_OPTS += --test-package-db=$(PACKAGE_DB) +endif + ifneq "$(VERBOSE)" "" RUNTEST_OPTS += --verbose=$(VERBOSE) endif |