octave-maintainers
[Top][All Lists]
Advanced

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

Re: graphical tests reproducibility


From: Rik
Subject: Re: graphical tests reproducibility
Date: Tue, 06 Sep 2011 09:14:20 -0700


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

reply via email to

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