Merge lp:~mardy/ubuntu-system-settings-online-accounts/pbuilder-1614108 into lp:ubuntu-system-settings-online-accounts

Proposed by Alberto Mardegan
Status: Merged
Approved by: David Barth
Approved revision: 378
Merged at revision: 393
Proposed branch: lp:~mardy/ubuntu-system-settings-online-accounts/pbuilder-1614108
Merge into: lp:ubuntu-system-settings-online-accounts
Diff against target: 13 lines (+3/-0)
1 file modified
tests/online-accounts-service/tst_ui_proxy.cpp (+3/-0)
To merge this branch: bzr merge lp:~mardy/ubuntu-system-settings-online-accounts/pbuilder-1614108
Reviewer Review Type Date Requested Status
Online Accounts Pending
Review via email: mp+303217@code.launchpad.net

Commit message

Tests: create runtime directory, fix execution under pbuilder

Description of the change

Tests: create runtime directory, fix execution under pbuilder

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'tests/online-accounts-service/tst_ui_proxy.cpp'
2--- tests/online-accounts-service/tst_ui_proxy.cpp 2015-07-15 11:13:50 +0000
3+++ tests/online-accounts-service/tst_ui_proxy.cpp 2016-08-18 06:22:26 +0000
4@@ -248,6 +248,9 @@
5 qputenv("AG_SERVICE_TYPES", TEST_DATA_DIR);
6 qputenv("AG_PROVIDERS", TEST_DATA_DIR);
7 qputenv("XDG_DATA_HOME", TEST_DATA_DIR);
8+ QDir runtimeDir("/tmp/oa-runtime/");
9+ runtimeDir.mkpath(".");
10+ qputenv("XDG_RUNTIME_DIR", runtimeDir.path().toUtf8());
11 }
12
13 void UiProxyTest::testInit()

Subscribers

People subscribed via source and target branches