[Git][ghc/ghc][ghc-9.8] testsuite: Elide progress output from bkpfail{16,18,19}
Ben Gamari (@bgamari)
gitlab at gitlab.haskell.org
Sat Nov 9 12:31:18 UTC 2024
Ben Gamari pushed to branch ghc-9.8 at Glasgow Haskell Compiler / GHC
Commits:
b6639a64 by Ben Gamari at 2024-10-19T14:22:45-04:00
testsuite: Elide progress output from bkpfail{16,18,19}
These tests are seemingly testing the error message, not the progress
output and the latter contains filenames with unstable hashes.
- - - - -
4 changed files:
- testsuite/tests/backpack/should_fail/all.T
- testsuite/tests/backpack/should_fail/bkpfail16.stderr
- testsuite/tests/backpack/should_fail/bkpfail17.stderr
- testsuite/tests/backpack/should_fail/bkpfail19.stderr
Changes:
=====================================
testsuite/tests/backpack/should_fail/all.T
=====================================
@@ -11,10 +11,10 @@ test('bkpfail12', normal, backpack_compile_fail, [''])
test('bkpfail13', normal, backpack_compile_fail, [''])
test('bkpfail14', normal, backpack_compile_fail, [''])
test('bkpfail15', normal, backpack_compile_fail, [''])
-test('bkpfail16', normalise_version('base'), backpack_compile_fail, [''])
-test('bkpfail17', normalise_version('base'), backpack_compile_fail, [''])
+test('bkpfail16', normalise_version('base'), backpack_compile_fail, ['-v0'])
+test('bkpfail17', normalise_version('base'), backpack_compile_fail, ['-v0'])
test('bkpfail18', normal, backpack_compile_fail, [''])
-test('bkpfail19', normalise_version('base'), backpack_compile_fail, [''])
+test('bkpfail19', normalise_version('base'), backpack_compile_fail, ['-v0'])
test('bkpfail20', normal, backpack_compile_fail, [''])
test('bkpfail21', normal, backpack_compile_fail, [''])
test('bkpfail22', normal, backpack_compile_fail, [''])
=====================================
testsuite/tests/backpack/should_fail/bkpfail16.stderr
=====================================
@@ -1,10 +1,4 @@
-[1 of 2] Processing p
- [1 of 1] Compiling ShouldFail[sig] ( p/ShouldFail.hsig, nothing )
-[2 of 2] Processing q
- Instantiating q
- [1 of 1] Including p[ShouldFail=base-4.19.1.0:Data.Bool]
- Instantiating p[ShouldFail=base-4.19.1.0:Data.Bool]
- [1 of 1] Compiling ShouldFail[sig] ( p/ShouldFail.hsig, bkpfail16.out/p/p-IWIH695NuFKHfA9JCzN8tU/ShouldFail.o )
-<no location info>: error:
- Something is amiss; requested module base-4.19.1.0-inplace:Data.Bool differs from name found in the interface file base:Data.Bool (if these names look the same, try again with -dppr-debug)
+bkpfail16.out/p/p-1OqLaT7dAn947wScQQKCw5/../ShouldFail.hi:1:1: error: [GHC-93011]
+ • ‘Booly’ is exported by the hsig file, but not exported by the implementing module ‘Data.Bool’
+ • While checking that ‘Data.Bool’ implements signature ‘ShouldFail’ in ‘p[ShouldFail=Data.Bool]’.
=====================================
testsuite/tests/backpack/should_fail/bkpfail17.stderr
=====================================
@@ -1,10 +1,11 @@
-[1 of 2] Processing p
- [1 of 1] Compiling ShouldFail[sig] ( p/ShouldFail.hsig, nothing )
-[2 of 2] Processing q
- Instantiating q
- [1 of 1] Including p[ShouldFail=base-4.19.1.0:Prelude]
- Instantiating p[ShouldFail=base-4.19.1.0:Prelude]
- [1 of 1] Compiling ShouldFail[sig] ( p/ShouldFail.hsig, bkpfail17.out/p/p-9af3lmxJNZa50ZueXSR02Y/ShouldFail.o )
-<no location info>: error:
- Something is amiss; requested module base-4.19.1.0-inplace:Prelude differs from name found in the interface file base:Prelude (if these names look the same, try again with -dppr-debug)
+<no location info>: error: [GHC-15843]
+ • Type constructor ‘Either’ has conflicting definitions in the module
+ and its hsig file.
+ Main module: type Either :: * -> * -> *
+ data Either a b = Left a | Right b
+ Hsig file: type role Either representational phantom phantom
+ type Either :: * -> * -> * -> *
+ data Either a b c = Left a
+ The types have different kinds.
+ • While checking that ‘Prelude’ implements signature ‘ShouldFail’ in ‘p[ShouldFail=Prelude]’.
=====================================
testsuite/tests/backpack/should_fail/bkpfail19.stderr
=====================================
@@ -1,10 +1,5 @@
-[1 of 2] Processing p
- [1 of 1] Compiling ShouldFail[sig] ( p/ShouldFail.hsig, nothing )
-[2 of 2] Processing q
- Instantiating q
- [1 of 1] Including p[ShouldFail=base-4.19.1.0:Data.STRef]
- Instantiating p[ShouldFail=base-4.19.1.0:Data.STRef]
- [1 of 1] Compiling ShouldFail[sig] ( p/ShouldFail.hsig, bkpfail19.out/p/p-Ak3HDozWrn3BPHIdYYNht5/ShouldFail.o )
-<no location info>: error:
- Something is amiss; requested module base-4.19.1.0-inplace:Data.STRef differs from name found in the interface file base:Data.STRef (if these names look the same, try again with -dppr-debug)
+<no location info>: error: [GHC-12424]
+ • The hsig file (re)exports ‘Data.STRef.Lazy.newSTRef’
+ but the implementing module exports a different identifier ‘GHC.STRef.newSTRef’
+ • While checking that ‘Data.STRef’ implements signature ‘ShouldFail’ in ‘p[ShouldFail=Data.STRef]’.
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/b6639a64c30c5d3a3783507eca998be659e3ebf7
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/b6639a64c30c5d3a3783507eca998be659e3ebf7
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/20241109/0381d10d/attachment-0001.html>
More information about the ghc-commits
mailing list