Validate fails
Simon Marlow
marlowsd at gmail.com
Tue May 20 07:17:54 EDT 2008
Claus Reinke wrote:
>> Unexpected failures:
>> ghci024(ghci)
>> num009(normal)
>
> on ghci024:
> the issue is that 'rts' is the only package not appearing in the output
> of 'ghci -package ghc'. originally, the test tacked it on to the
> packagelist
> where it would be expected to appear in the output of ':show packages'.
>
> now, there are more "internal" packages ('integer','ghc-prim'), and
> 'rts' would have to be inserted at the right place (after 'base'?) instead
> of added to the end (packagelist += ['rts']).
>
> it would be better to get rid of the inconsistency, though:
> either have 'rts' appear in the output of 'ghci -package ghc'
> or drop 'rts' from the output of ':show packages'.
>
> since the whole idea of having an 'rts' package would seem to have it
> behave as closely to other packages as possible, the first option is
> probably the one intended?
I hacked ghci024 to work, by having GHCi sort the output of :show packages,
and fixing ghci024.py to match. Please shout if I've done something bogus.
Cheers,
Simon
>
> claus
>
>> In any case, I have no idea what happened to num009. ghci024 fails with:
>>
>> --- ./ghci/scripts/ghci024.stdout.normalised 2008-05-20
>> 14:42:34.000000000 +1000
>> +++ ./ghci/scripts/ghci024.run.stdout.normalised 2008-05-20
>> 14:42:34.000000000 +1000
>> @@ -97,9 +97,9 @@
>> active package flags: none
>> packages currently loaded:
>> base
>> + rts
>> integer
>> ghc-prim
>> - rts
>> -- :set -package ghc
>> active package flags:
>> -package ghc
>> @@ -123,6 +123,6 @@
>> containers-0.1
>> array-0.1
>> base
>> + rts
>> integer
>> ghc-prim
>> - rts
>>
>> Fixing the first diff is trivial but the second one is harder. Perhaps
>> the package lists should be sorted before comparing? Or is the order
>> important and this is actually bad?
>>
>> Roman
>>
>>
>> _______________________________________________
>> Cvs-ghc mailing list
>> Cvs-ghc at haskell.org
>> http://www.haskell.org/mailman/listinfo/cvs-ghc
>
> _______________________________________________
> Cvs-ghc mailing list
> Cvs-ghc at haskell.org
> http://www.haskell.org/mailman/listinfo/cvs-ghc
More information about the Cvs-ghc
mailing list