Skip to content
Snippets Groups Projects
Commit 706dada6 authored by Ben Gamari's avatar Ben Gamari Committed by Cheng Shao
Browse files

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.

(cherry picked from commit b6639a64)
parent 9414e497
No related branches found
No related tags found
No related merge requests found
......@@ -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, [''])
......
[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]’.
[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]’.
[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]’.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment