Merge lp:~thomas-voss/trust-store/test-tp into lp:trust-store

Proposed by Thomas Voß
Status: Needs review
Proposed branch: lp:~thomas-voss/trust-store/test-tp
Merge into: lp:trust-store
Diff against target: 50 lines (+13/-2)
2 files modified
src/CMakeLists.txt (+1/-0)
src/core/trust/mir/prompt_main.cpp (+12/-2)
To merge this branch: bzr merge lp:~thomas-voss/trust-store/test-tp
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Approve
Ubuntu Phablet Team Pending
Review via email: mp+290058@code.launchpad.net

Commit message

Minimize trust-prompt for testing/debugging purposes.

Description of the change

Minimize trust-prompt for testing/debugging purposes.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)

Unmerged revisions

150. By Thomas Voß

Minimize trust-prompt for testing/debugging purposes.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/CMakeLists.txt'
2--- src/CMakeLists.txt 2016-01-11 09:51:51 +0000
3+++ src/CMakeLists.txt 2016-03-24 16:18:17 +0000
4@@ -111,6 +111,7 @@
5 trust-prompt
6
7 ${Boost_LIBRARIES}
8+ ${MIR_CLIENT_LDFLAGS}
9 ${PROCESS_CPP_LDFLAGS}
10 )
11
12
13=== modified file 'src/core/trust/mir/prompt_main.cpp'
14--- src/core/trust/mir/prompt_main.cpp 2015-11-26 15:25:34 +0000
15+++ src/core/trust/mir/prompt_main.cpp 2016-03-24 16:18:17 +0000
16@@ -36,6 +36,8 @@
17
18 #include <core/posix/this_process.h>
19
20+#include <mirclient/mir_toolkit/mir_client_library.h>
21+
22 #include "prompt_config.h"
23 #include "prompt_main.h"
24
25@@ -176,7 +178,15 @@
26 }
27 });
28
29- // We already parsed the command line arguments and do not parse them
30+ auto connection = mir_connect_sync("", "ThisIsJustATest");
31+
32+ if (not mir_connection_is_valid(connection))
33+ return EXIT_FAILURE;
34+
35+ mir_connection_release(connection);
36+ return EXIT_SUCCESS;
37+
38+ /*// We already parsed the command line arguments and do not parse them
39 // to the application.
40 QGuiApplication app{argc, argv};
41
42@@ -227,7 +237,7 @@
43 &signal_trap,
44 SLOT(quit(int)));
45
46- return app.exec();
47+ return app.exec();*/
48 }
49
50 #include "prompt_main.moc"

Subscribers

People subscribed via source and target branches