On Mon, Mar 25, 2013 at 11:26 AM, Kornel Benko <kor...@lyx.org> wrote:
> Am Montag, 25. März 2013 um 15:52:28, schrieb Jean-Marc Lasgouttes
> <lasgout...@lyx.org>
>
>> Le 24/03/2013 00:00, Scott Kostyshak a écrit :
>
>> > This patch allows for autotests to modify preferences (or we could
>
>> > think of where we would want to run the same test with several
>
>> > different preferences files). We might as well also clean up the bind
>
>> > file, even though I don't have a specific use case in mind, but if a
>
>> > test changes it, it could lead to trouble for the other tests (e.g.
>
>> > \unbind "M-x" "command-execute" would invalidate all the tests I
>
>> > think).
>
>>
>
>> Why do not autotests use their own userdir and delete it afterwards
>
>> instead of polluting the normal one (If I understand correctly what the
>
>> code does)?
>
>>
>
>> JMarc
>
>
>
> In cmake it works already that way, sort of, It uses own userdir, but does
>
> not remove it afterwards.

I think that part of the problem of using a fresh userdir for each
test would be that configure would have to be run each time. What if
we only generate a vanilla userdir once and then copy it for each
test?

Scott

Reply via email to