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

Ben Gamari gitlab at gitlab.haskell.org
Wed Jun 12 04:19:29 UTC 2019



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


Commits:
f24bada7 by Ben Gamari at 2019-06-12T04:19:17Z
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"]
```

- - - - -
96962bef by Ben Gamari at 2019-06-12T04:19:17Z
testsuite: Mark T7170 as broken on Windows

Due to #16801.

- - - - -
882543ff by Ben Gamari at 2019-06-12T04:19:17Z
testsuite: Mark T7702 as broken on Windows

Due to #16799.

- - - - -
62c0248a by Ben Gamari at 2019-06-12T04:19:17Z
gitlab-ci: Don't allow Windows make job to fail

While linking is still slow (#16084) all of the correctness issues which were
preventing us from being able to enforce testsuite-green on Windows are now
resolved.

- - - - -


4 changed files:

- .gitlab-ci.yml
- testsuite/tests/ffi/should_run/all.T
- testsuite/tests/ghc-api/downsweep/all.T
- testsuite/tests/simplCore/should_compile/all.T


Changes:

=====================================
.gitlab-ci.yml
=====================================
@@ -654,8 +654,6 @@ nightly-i386-windows-hadrian:
 .build-windows-make:
   extends: .build-windows
   stage: full-build
-  # due to #16084
-  allow_failure: true
   variables:
     BUILD_FLAVOUR: "quick"
     GHC_VERSION: "8.6.5"


=====================================
testsuite/tests/ffi/should_run/all.T
=====================================
@@ -169,7 +169,9 @@ test('ffi_parsing_001', [omit_ways(['ghci'])], compile_and_run,
 
 test('capi_value', [omit_ways(['ghci'])], compile_and_run, ['capi_value_c.c'])
 
-test('T7170', exit_code(1), compile_and_run, [''])
+test('T7170',
+     [when(opsys('mingw32'), expect_broken(16801))],
+      exit_code(1)], compile_and_run, [''])
 
 test('T4012', [expect_broken_for(7388, ['ghci'])], multimod_compile_and_run,
      ['T4012', ''])


=====================================
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'])


=====================================
testsuite/tests/simplCore/should_compile/all.T
=====================================
@@ -144,6 +144,7 @@ test('T7702',
       # a large effect on allocation which is hard to separate from the
       # allocation done by the plugin... but a regression allocates > 90mb
       collect_compiler_stats('peak_megabytes_allocated',70),
+      when(opsys('mingw'), expect_broken_for(16799, ['normal']))
      ],
      compile,
      ['-v0 -package-db T7702plugin/pkg.T7702/local.package.conf -fplugin T7702Plugin -package T7702plugin ' + config.plugin_way_flags])



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/compare/8f0f3f0aed918000cd0d82f65579e5244db8033d...62c0248a72fc18cb43f2a87c5b8d5a55ff47351e

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/compare/8f0f3f0aed918000cd0d82f65579e5244db8033d...62c0248a72fc18cb43f2a87c5b8d5a55ff47351e
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/20190612/ded79630/attachment-0001.html>


More information about the ghc-commits mailing list