[Git][ghc/ghc][wip/fix-windows] testsuite: Mark OldModLocation as broken on Windows

Ben Gamari gitlab at gitlab.haskell.org
Fri Jun 7 20:25:47 UTC 2019



Ben Gamari pushed to branch wip/fix-windows at Glasgow Haskell Compiler / GHC


Commits:
dbf69982 by Ben Gamari at 2019-06-07T20:24:43Z
testsuite: Mark OldModLocation as broken on Windows

Strangely the path it emits contains duplicate path delimiters (#16772),
```patch
--- ghc-api/downsweep/OldModLocation.run/OldModLocation.stderr.normalised	2019-06-04 14:40:26.326075000 +0000
+++ ghc-api/downsweep/OldModLocation.run/OldModLocation.run.stderr.normalised	2019-06-04 14:40:26.328029200 +0000
@@ -1 +1 @@
-[Just "A.hs",Just "mydir/B.hs"]
+[Just "A.hs",Just "mydir//B.hs"]
```

- - - - -


1 changed file:

- testsuite/tests/ghc-api/downsweep/all.T


Changes:

=====================================
testsuite/tests/ghc-api/downsweep/all.T
=====================================
@@ -9,6 +9,7 @@ test('PartialDownsweep',
 
 test('OldModLocation',
      [ extra_run_opts('"' + config.libdir + '"')
+     , when(opsys('mingw32'), expect_broken(16772))
      ],
      compile_and_run,
      ['-package ghc'])



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/dbf6998290783650558623cd30370807aa3dce94
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/20190607/065635d4/attachment.html>


More information about the ghc-commits mailing list