octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: graphical tests reproducibility


From: Kai Habel
Subject: Re: graphical tests reproducibility
Date: Wed, 07 Sep 2011 20:21:16 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110221 SUSE/3.1.8 Lightning/1.0b2 Thunderbird/3.1.8

On 06.09.2011 18:14, Rik wrote:

On 6 Sep 2011, at 15:07, Ben Abbott wrote:

> I'm off-topic, but for the graphics demos please start with a "clf ()" to ensure reproducible results.
>
> Ben

Also, can we be careful not to disturb the user's environment?  I noticed, for example, that in the tests for whitebg.m there are lines like

set (0, "defaultaxescolor", [1 1 1])

which sets a global preference that may be different from what the user has set.  There is no code to save/restore the current settings so the user's environment is altered by running the tests.

--Rik
Thanks for spotting this problem it should be fixed now.


Kai

reply via email to

[Prev in Thread] Current Thread [Next in Thread]