Jenkins build became unstable: kwallet-framework_master_qt5 #21

Valentin Rusu kde at rusu.info
Wed Jan 15 19:02:20 UTC 2014


On 01/15/2014 12:15 PM, Alex Merry wrote:
> On 15/01/14 07:36, Valentin Rusu wrote:
>> On 01/15/2014 07:16 AM, Ben Cooksley wrote:
>>> It seems you are relying on D-Bus auto-launching. Is this the case?
>>
>> Yes, the kwallet API uses DBus activation to get kwalletd up un running.
>> If that's already in place, then I realize that we need another thing to
>> get tests running. Upon first launch, kwalletd pops-up a wallet setup
>> wizard. That blocks the DBus call. That wizard will not pop-up if the
>> configuration file kwalletrc has "First use=false" entry.
>>
>> I suppose I must install this file before launching. Should I rely on
>> XDG_CONFIG_HOME variable to find out the kwalletrc location?
> 
> Take care here - we want users to be able to run the tests without
> clobbering their configuration files.
> 
> QStandardPaths has a "test mode" that sets the write locations to things
> in ~/.qttest.  

Thanks for the hint. I'll take a look at it.

> You could also just launch kwalletd manually from the tests and
> ensure that XDG_CONFIG_HOME is set to something like ~/.kwalletd-tests
> for that process, if kwallet doesn't intend to support windows or mac.

Actually, kwalletd runs without problems on Windows, and I thinks on mac
also.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 316 bytes
Desc: OpenPGP digital signature
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140115/e1915045/attachment.sig>


More information about the Kde-frameworks-devel mailing list