← Back to team overview

ffc team mailing list archive

Re: [Branch ~ffc-core/ffc/main] Rev 1387: Disable element library testing in regression tests to get around error

 

On Tue, Feb 02, 2010 at 06:42:57PM +0100, Kristian Oelgaard wrote:
> On 2 February 2010 18:27,  <noreply@xxxxxxxxxxxxx> wrote:
> > ------------------------------------------------------------
> > revno: 1387
> > committer: Anders Logg <logg@xxxxxxxxx>
> > branch nick: ffc-main
> > timestamp: Tue 2010-02-02 18:24:56 +0100
> > message:
> >  Disable element library testing in regression tests to get around error
> >  on buildbot (most likely a roundoff error, will fix later).
> > modified:
> >  test/regression/test.py
>
> Yes, I get the errors too when I run the tests. Looks like 1e-8 is too strict.
>
> 9.4699181e-08
> 9.4699182e-08
>
> Kristian

ok, I'll try 1e-7. It's strange that it should be so sensitive and
vary even between different Ubuntu versions.

--
Anders


> >
> >
> > Your team FFC Core Team is subscribed to branch lp:ffc.
> > To unsubscribe from this branch go to https://code.launchpad.net/~ffc-core/ffc/main/+edit-subscription.
> >
> > === modified file 'test/regression/test.py'
> > --- test/regression/test.py     2010-02-02 16:57:18 +0000
> > +++ test/regression/test.py     2010-02-02 17:24:56 +0000
> > @@ -62,9 +62,9 @@
> >
> >     # Generate form files for elements
> >     from elements import elements
> > -    info("Generating form files for extra elements (%d elements)" % len(elements))
> > -    for (i, element) in enumerate(elements):
> > -        open("X_Element%d.ufl" % i, "w").write("element = %s" % element)
> > +    #info("Generating form files for extra elements (%d elements)" % len(elements))
> > +    #for (i, element) in enumerate(elements):
> > +    #    open("X_Element%d.ufl" % i, "w").write("element = %s" % element)
> >
> >     end()
> >
> >
> >
> >
>
> _______________________________________________
> Mailing list: https://launchpad.net/~ffc
> Post to     : ffc@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ffc
> More help   : https://help.launchpad.net/ListHelp

Attachment: signature.asc
Description: Digital signature


References