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

From: Kristian Oelgaard <[email-masked]>
Date: Tue, 2 Feb 2010 18:42:57 +0100

On 2 February 2010 18:27,  <[email-masked]> wrote:
> ------------------------------------------------------------
> revno: 1387
> committer: Anders Logg <[email-masked]>
> 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

>
> --
> lp:ffc
> https://code.launchpad.net/~ffc-core/ffc/main
>
> 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()
>
>
>
>

---

From: Anders Logg <[email-masked]>
Date: Tue, 2 Feb 2010 19:26:58 +0100

> Yes, I get the errors too when I run the tests. Looks like 1e-8 is too strict.

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

--
Anders

> _______________________________________________
> Mailing list: https://launchpad.net/~ffc
> Post to     : [email-masked]
> Unsubscribe : https://launchpad.net/~ffc
> More help   : https://help.launchpad.net/ListHelp