[Webkit-unassigned] [Bug 199738] [GTK][WPE] run-webkit-tests should run with a temporal homedir

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 17 09:53:42 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=199738

--- Comment #2 from Carlos Alberto Lopez Perez <clopez at igalia.com> ---
(In reply to Adrian Perez from comment #1)
> (In reply to Carlos Alberto Lopez Perez from comment #0)
> > On https://bugs.webkit.org/show_bug.cgi?id=169916#c7 I discovered some tests
> > give different visual output depending if you run the tests with on an empty
> > $HOME or not.
> >
> > I guess this is related to some configuration of some library.
> 
> Ouch. It could be something like some configuration being present
> (or not) in $HOME for the hinting and/or subpixel rendering settings
> for fonts, for example.
>  
> > In order to make the output of the tests more predictable I think
> > run-webkit-tests should run with a temporal new homedir.
> 
> Yes, or even have a separate home directory for each test case
> being run. 

I will try to use a separate home directory per worker.

> Or point $HOME to an empty, non-writable directory (not
> sure if that would work). We may want to also set $XDG_CONFIG_HOME,
> $XDG_CACHE_DIR, and so on.

XDG_CONFIG_HOME and XDG_CACHE_DIR are filtered out from the user environment by the webkitpy driver for tests.
So I think is enough with just setting $HOME because the value of this two variables default to $HOME/.confing and $HOME/.cache

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190717/d1ae2e39/attachment-0001.html>


More information about the webkit-unassigned mailing list