diff options
author | GHC GitLab CI <ghc-ci@gitlab-haskell.org> | 2020-06-26 17:22:15 +0000 |
---|---|---|
committer | Ben Gamari <ben@well-typed.com> | 2020-10-31 20:47:56 -0400 |
commit | cdaf427c21fdd0f0ea1088baaecbae28c4e67695 (patch) | |
tree | b57555b6d0e9b8cf1ff39be26e0a78718edbb3fa /testsuite/driver/testglobals.py | |
parent | eb368078204bceba51e3c80e387ce1d776762cfd (diff) | |
download | haskell-wip/fix-testsuite-gs.tar.gz |
testsuite: Add --top flag to driverwip/fix-testsuite-gs
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.py | 2 |
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 = [] |