Commits on Source (13)
-
As noted in #16224, CPUTime001 has been quite problematic, reporting non-monotonic timestamps in CI. Unfortunately I've been unable to reproduce this locally.
1a3420ca -
9bc10993
-
0345b1b0
-
Currently the rule for .hi files just triggers (via need) the rule for the .o file, and .o rule generates both the .o and .hi file. Likewise for .o-boot and .hi-boot files. This is a bit of an abuse of Shake, and in fact shake supports rules with multiple output with the &%> function. This exact use case appears in Neil Mitchell's paper *Shake Before Building* section 6.3.
58a5d728 -
This was previously broken in several ways. This is fixed and it also now tests arrays. Unfortunately I was unable to find a way to continue testing PAP and FUN sizes; these simply depend too much upon the behavior of the simplifier. I also tried to extend this to test non-empty arrays as well but unfortunately this was non-trivial as the array card size constant isn't readily available from haskell. Fixes #16531.
2f945086 -
This adds a new test, only run in the `normal` way, to verify the size of FUNs and PAPs.
e5d275f4 -
Ben Gamari authored
This was previously failling on Windows.
c276f6aa -
Ben Gamari authored
On Windows we must lock package databases even when opening for read-only access. This means that concurrent GHC sessions are very likely to fail with file lock contention. See #16773.
97d866c2 -
Ben Gamari authored
This test uses TemplateHaskell causing GHC to build dynamic objects on platforms where dynamic linking is available. However, Windows doesn't support dynamic linking. Consequently the test would fail on Windows with: ```patch --- safeHaskell/safeInfered/UnsafeInfered02.run/UnsafeInfered02.stderr.normalised 2019-06-04 15:10:10.521594200 +0000 +++ safeHaskell/safeInfered/UnsafeInfered02.run/UnsafeInfered02.comp.stderr.normalised 2019-06-04 15:10:10.523546200 +0000 @@ -1,5 +1,5 @@ -[1 of 2] Compiling UnsafeInfered02_A ( UnsafeInfered02_A.hs, UnsafeInfered02_A.o, UnsafeInfered02_A.dyn_o ) -[2 of 2] Compiling UnsafeInfered02 ( UnsafeInfered02.hs, UnsafeInfered02.o, UnsafeInfered02.dyn_o ) +[1 of 2] Compiling UnsafeInfered02_A ( UnsafeInfered02_A.hs, UnsafeInfered02_A.o ) +[2 of 2] Compiling UnsafeInfered02 ( UnsafeInfered02.hs, UnsafeInfered02.o ) UnsafeInfered02.hs:4:1: UnsafeInfered02_A: Can't be safely imported! ``` The other approach I considered for this issue is to pass `-v0` to GHC. However, I felt we should probably do this consistently for all of the tests in this directory and this would take more time than I currently have.
1aa98890 -
Ben Gamari authored
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.
b6e3234e -
Ben Gamari authored
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"] ```
10677290 -
Ben Gamari authored
Due to #16801.
b6378114 -
Ben Gamari authored
Due to #16799.
8f0f3f0a
Showing
- .gitlab-ci.yml 0 additions, 2 deletions.gitlab-ci.yml
- compiler/basicTypes/MkId.hs 20 additions, 0 deletionscompiler/basicTypes/MkId.hs
- compiler/hsSyn/HsDecls.hs 1 addition, 0 deletionscompiler/hsSyn/HsDecls.hs
- hadrian/src/Rules/Compile.hs 64 additions, 71 deletionshadrian/src/Rules/Compile.hs
- libraries/base/tests/all.T 1 addition, 1 deletionlibraries/base/tests/all.T
- libraries/ghc-boot/GHC/PackageDb.hs 2 additions, 0 deletionslibraries/ghc-boot/GHC/PackageDb.hs
- libraries/ghc-heap/tests/ClosureSizeUtils.hs 52 additions, 0 deletionslibraries/ghc-heap/tests/ClosureSizeUtils.hs
- libraries/ghc-heap/tests/all.T 18 additions, 3 deletionslibraries/ghc-heap/tests/all.T
- libraries/ghc-heap/tests/closure_size.hs 35 additions, 21 deletionslibraries/ghc-heap/tests/closure_size.hs
- libraries/ghc-heap/tests/closure_size_noopt.hs 12 additions, 0 deletionslibraries/ghc-heap/tests/closure_size_noopt.hs
- testsuite/tests/driver/dynamicToo/dynamicToo006/all.T 2 additions, 1 deletiontestsuite/tests/driver/dynamicToo/dynamicToo006/all.T
- testsuite/tests/ffi/should_run/all.T 3 additions, 1 deletiontestsuite/tests/ffi/should_run/all.T
- testsuite/tests/ghc-api/downsweep/all.T 1 addition, 0 deletionstestsuite/tests/ghc-api/downsweep/all.T
- testsuite/tests/ghci/linking/dyn/all.T 7 additions, 1 deletiontestsuite/tests/ghci/linking/dyn/all.T
- testsuite/tests/roles/should_compile/T16718.hs 7 additions, 0 deletionstestsuite/tests/roles/should_compile/T16718.hs
- testsuite/tests/roles/should_compile/T16718.stderr 7 additions, 0 deletionstestsuite/tests/roles/should_compile/T16718.stderr
- testsuite/tests/roles/should_compile/all.T 1 addition, 0 deletionstestsuite/tests/roles/should_compile/all.T
- testsuite/tests/safeHaskell/safeInfered/UnsafeInfered02.stderr-mingw32 7 additions, 0 deletions...ts/safeHaskell/safeInfered/UnsafeInfered02.stderr-mingw32
- testsuite/tests/simplCore/should_compile/all.T 1 addition, 0 deletionstestsuite/tests/simplCore/should_compile/all.T
- testsuite/tests/th/T15365.stderr 2 additions, 0 deletionstestsuite/tests/th/T15365.stderr
libraries/ghc-heap/tests/ClosureSizeUtils.hs
0 → 100644