I refactored a bunch of normaliseGhcPackage() functions that were
littered about the testsuite into a normalise_version, see this
CR: https://phabricator.haskell.org/D725

I don't know if people would find it more convenient, however, to
just apply this sort of normalisation unconditionally.  In that case,
we'd need some list of package names to apply this to.

Edward

Excerpts from Austin Seipp's message of 2015-03-06 10:11:31 -0800:
> I pushed a fix, but I agree this is annoying. Perhaps the testsuite
> 'scrubber' should try to handle things like this too (does anyone want
> to write a patch?)
> 
> On Fri, Mar 6, 2015 at 2:37 AM, Simon Peyton Jones
> <simo...@microsoft.com> wrote:
> > Guys
> >
> > I'm seeing this validate failures on TH_Roles2
> >
> > -Dependent packages: [array-0.5.0.1, base-4.8.0.0, deepseq-1.4.0.0,
> > +Dependent packages: [array-0.5.0.1, base-4.8.0.0, deepseq-1.4.1.0,
> >
> > And similarly safePkg01
> > -package dependencies: array-0.5.0.1 base-4.8.0.0 bytestring-0.10.5.0* 
> > deepseq-1.4.0.0 ghc-prim-0.3.1.0 integer-gmp-0.5.1.0
> > +package dependencies: array-0.5.0.1 base-4.8.0.0 bytestring-0.10.6.0* 
> > deepseq-1.4.1.0 ghc-prim-0.3.1.0 integer-gmp-1.0.
> >
> > Could someone fix?
> >
> > Do we want tests that depend on version numbers in this fragile way.  They 
> > are almost bound to fail repeatedly over time.
> >
> > Simon
> >
> > | -----Original Message-----
> > | From: nore...@phabricator.haskell.org
> > | [mailto:nore...@phabricator.haskell.org]
> > | Sent: 05 March 2015 23:03
> > | To: Simon Peyton Jones
> > | Subject: [Diffusion] [Build Failed] rGHCb833bc2767d7: User manual section
> > | to document the principles of kind inference
> > |
> > | Harbormaster failed to build B3285: rGHCb833bc2767d7: User manual section
> > | to document the principles of kind inference!
> > |
> > | USERS
> > |   simonpj (Author)
> > |   GHC - Documentation (Auditor)
> > |
> > | COMMIT
> > |   https://phabricator.haskell.org/rGHCb833bc2767d7
> > |
> > | REPLY HANDLER ACTIONS
> > |   Reply to comment.
> > |
> > | EMAIL PREFERENCES
> > |   https://phabricator.haskell.org/settings/panel/emailpreferences/
> > |
> > | To: simonpj, GHC - Documentation
> > _______________________________________________
> > ghc-devs mailing list
> > ghc-devs@haskell.org
> > http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
> >
> 
_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Reply via email to