summaryrefslogtreecommitdiff
path: root/testsuite/driver/testglobals.py
diff options
context:
space:
mode:
authorGHC GitLab CI <ghc-ci@gitlab-haskell.org>2020-06-26 17:22:15 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-11-02 23:45:06 -0500
commit4ce2f7d6e6a516173750b1d740f345e90992ffce (patch)
treea85194834b11e035e2cbb14da3f1cbfe474b4d68 /testsuite/driver/testglobals.py
parente63db32c7eb089985a1a7279a0a886a32d70ac0e (diff)
downloadhaskell-4ce2f7d6e6a516173750b1d740f345e90992ffce.tar.gz
testsuite: Add --top flag to driver
This allows us to make `config.top` a proper Path. Previously it was a str, which caused the Ghostscript detection logic to break.
Diffstat (limited to 'testsuite/driver/testglobals.py')
-rw-r--r--testsuite/driver/testglobals.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/driver/testglobals.py b/testsuite/driver/testglobals.py
index 30b457e829..1cfa451cca 100644
--- a/testsuite/driver/testglobals.py
+++ b/testsuite/driver/testglobals.py
@@ -22,7 +22,7 @@ class TestConfig:
def __init__(self):
# Where the testsuite root is
- self.top = ''
+ self.top = Path('.')
# Directories below which to look for test description files (foo.T)
self.rootdirs = []