[Git][ghc/ghc][wip/junit-fixes] Fix

Ben Gamari gitlab at gitlab.haskell.org
Sun Jun 23 13:43:29 UTC 2019



Ben Gamari pushed to branch wip/junit-fixes at Glasgow Haskell Compiler / GHC


Commits:
8d8fe394 by Ben Gamari at 2019-06-23T13:43:23Z
Fix

- - - - -


1 changed file:

- testsuite/driver/testlib.py


Changes:

=====================================
testsuite/driver/testlib.py
=====================================
@@ -984,7 +984,7 @@ def do_test(name: TestName, way: WayName, func, args, files: Set[str]) -> None:
     except (KeyError, TypeError):
         passFail = 'No passFail found'
 
-    directory = re.sub('^\\.[/\\\\]', '', opts.testdir)
+    directory = re.sub('^\\.[/\\\\]', '', str(opts.testdir))
 
     if passFail == 'pass':
         if _expect_pass(way):



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/8d8fe394fe31e661d8c819f309c73b73f8abe3be

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/8d8fe394fe31e661d8c819f309c73b73f8abe3be
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20190623/e9a1a28f/attachment.html>


More information about the ghc-commits mailing list