Merge lp:~thomas-voss/dbus-cpp/force_gcc_4.7 into lp:dbus-cpp
- force_gcc_4.7
- Merge into trunk
Status: | Merged |
---|---|
Merged at revision: | 44 |
Proposed branch: | lp:~thomas-voss/dbus-cpp/force_gcc_4.7 |
Merge into: | lp:dbus-cpp |
Diff against target: |
313 lines (+45/-36) 12 files modified
debian/control (+2/-0) debian/rules (+4/-1) include/core/dbus/compiler.h (+1/-0) include/core/dbus/message_router.h (+2/-2) include/core/dbus/types/variant.h (+3/-3) src/core/dbus/introspection_parser.cpp (+1/-0) tests/codec_test.cpp (+9/-7) tests/executor_test.cpp (+1/-1) tests/service_test.cpp (+1/-1) tests/service_watcher_test.cpp (+8/-8) tests/signal_delivery_test.cpp (+12/-12) tests/stl_codec_test.cpp (+1/-1) |
To merge this branch: | bzr merge lp:~thomas-voss/dbus-cpp/force_gcc_4.7 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot | continuous-integration | Needs Fixing | |
Ubuntu Phablet Team | Pending | ||
Review via email: mp+204909@code.launchpad.net |
Commit message
Force compilation against GCC 4.7.
Account for toolchain differences.
Description of the change
Force compilation against GCC 4.7.
Account for toolchain differences.
PS Jenkins bot (ps-jenkins) wrote : | # |
- 43. By Thomas Voß
-
Adjust compiler selection.
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:43
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 44. By Thomas Voß
-
Revert changes to binary package version.
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:44
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
Preview Diff
1 | === modified file 'debian/control' | |||
2 | --- debian/control 2014-02-03 11:05:50 +0000 | |||
3 | +++ debian/control 2014-02-06 11:19:51 +0000 | |||
4 | @@ -5,6 +5,8 @@ | |||
5 | 5 | dbus, | 5 | dbus, |
6 | 6 | debhelper (>= 9), | 6 | debhelper (>= 9), |
7 | 7 | doxygen, | 7 | doxygen, |
8 | 8 | gcc-4.7, | ||
9 | 9 | g++-4.7, | ||
10 | 8 | google-mock, | 10 | google-mock, |
11 | 9 | libboost-filesystem-dev, | 11 | libboost-filesystem-dev, |
12 | 10 | libboost-system-dev, | 12 | libboost-system-dev, |
13 | 11 | 13 | ||
14 | === modified file 'debian/rules' | |||
15 | --- debian/rules 2014-01-30 08:08:49 +0000 | |||
16 | +++ debian/rules 2014-02-06 11:19:51 +0000 | |||
17 | @@ -4,7 +4,10 @@ | |||
18 | 4 | # Uncomment this to turn on verbose mode. | 4 | # Uncomment this to turn on verbose mode. |
19 | 5 | export DH_VERBOSE=1 | 5 | export DH_VERBOSE=1 |
20 | 6 | 6 | ||
22 | 7 | DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) | 7 | include /usr/share/dpkg/default.mk |
23 | 8 | |||
24 | 9 | export CC=$(DEB_HOST_MULTIARCH)-gcc-4.7 | ||
25 | 10 | export CXX=$(DEB_HOST_MULTIARCH)-g++-4.7 | ||
26 | 8 | 11 | ||
27 | 9 | export DPKG_GENSYMBOLS_CHECK_LEVEL=4 | 12 | export DPKG_GENSYMBOLS_CHECK_LEVEL=4 |
28 | 10 | 13 | ||
29 | 11 | 14 | ||
30 | === modified file 'include/core/dbus/compiler.h' | |||
31 | --- include/core/dbus/compiler.h 2013-11-27 18:57:42 +0000 | |||
32 | +++ include/core/dbus/compiler.h 2014-02-06 11:19:51 +0000 | |||
33 | @@ -23,6 +23,7 @@ | |||
34 | 23 | 23 | ||
35 | 24 | #include <memory> | 24 | #include <memory> |
36 | 25 | #include <set> | 25 | #include <set> |
37 | 26 | #include <stdexcept> | ||
38 | 26 | #include <string> | 27 | #include <string> |
39 | 27 | #include <vector> | 28 | #include <vector> |
40 | 28 | 29 | ||
41 | 29 | 30 | ||
42 | === modified file 'include/core/dbus/message_router.h' | |||
43 | --- include/core/dbus/message_router.h 2014-01-30 19:09:10 +0000 | |||
44 | +++ include/core/dbus/message_router.h 2014-02-06 11:19:51 +0000 | |||
45 | @@ -94,9 +94,9 @@ | |||
46 | 94 | ul.unlock(); | 94 | ul.unlock(); |
47 | 95 | handler(msg); | 95 | handler(msg); |
48 | 96 | return true; | 96 | return true; |
49 | 97 | } else { | ||
50 | 98 | return false; | ||
51 | 99 | } | 97 | } |
52 | 98 | |||
53 | 99 | return false; | ||
54 | 100 | } | 100 | } |
55 | 101 | 101 | ||
56 | 102 | private: | 102 | private: |
57 | 103 | 103 | ||
58 | === modified file 'include/core/dbus/types/variant.h' | |||
59 | --- include/core/dbus/types/variant.h 2014-01-20 22:04:16 +0000 | |||
60 | +++ include/core/dbus/types/variant.h 2014-02-06 11:19:51 +0000 | |||
61 | @@ -59,7 +59,7 @@ | |||
62 | 59 | template<typename T> | 59 | template<typename T> |
63 | 60 | static inline Variant encode(T t) | 60 | static inline Variant encode(T t) |
64 | 61 | { | 61 | { |
66 | 62 | auto encoder = [t](dbus::Message::Writer& writer) | 62 | Encoder encoder = [t](dbus::Message::Writer& writer) |
67 | 63 | { | 63 | { |
68 | 64 | Codec<T>::encode_argument(writer, t); | 64 | Codec<T>::encode_argument(writer, t); |
69 | 65 | }; | 65 | }; |
70 | @@ -74,7 +74,7 @@ | |||
71 | 74 | template<typename T> | 74 | template<typename T> |
72 | 75 | static inline Variant decode(T& t) | 75 | static inline Variant decode(T& t) |
73 | 76 | { | 76 | { |
75 | 77 | auto decoder = [&t](dbus::Message::Reader& reader) | 77 | Decoder decoder = [&t](dbus::Message::Reader& reader) |
76 | 78 | { | 78 | { |
77 | 79 | Codec<T>::decode_argument(reader, t); | 79 | Codec<T>::decode_argument(reader, t); |
78 | 80 | }; | 80 | }; |
79 | @@ -94,7 +94,7 @@ | |||
80 | 94 | }; | 94 | }; |
81 | 95 | } | 95 | } |
82 | 96 | 96 | ||
84 | 97 | inline Variant(const Variant& rhs) = default; | 97 | inline Variant(const Variant&) = default; |
85 | 98 | 98 | ||
86 | 99 | inline Variant(Variant&& rhs) | 99 | inline Variant(Variant&& rhs) |
87 | 100 | : encoder(std::move(rhs.encoder)), | 100 | : encoder(std::move(rhs.encoder)), |
88 | 101 | 101 | ||
89 | === modified file 'src/core/dbus/introspection_parser.cpp' | |||
90 | --- src/core/dbus/introspection_parser.cpp 2013-11-27 18:57:42 +0000 | |||
91 | +++ src/core/dbus/introspection_parser.cpp 2014-02-06 11:19:51 +0000 | |||
92 | @@ -22,6 +22,7 @@ | |||
93 | 22 | 22 | ||
94 | 23 | #include <iostream> | 23 | #include <iostream> |
95 | 24 | #include <map> | 24 | #include <map> |
96 | 25 | #include <stdexcept> | ||
97 | 25 | 26 | ||
98 | 26 | namespace core | 27 | namespace core |
99 | 27 | { | 28 | { |
100 | 28 | 29 | ||
101 | === modified file 'tests/codec_test.cpp' | |||
102 | --- tests/codec_test.cpp 2014-01-21 11:32:57 +0000 | |||
103 | +++ tests/codec_test.cpp 2014-02-06 11:19:51 +0000 | |||
104 | @@ -396,7 +396,8 @@ | |||
105 | 396 | counter++; | 396 | counter++; |
106 | 397 | } | 397 | } |
107 | 398 | 398 | ||
109 | 399 | EXPECT_EQ(5, counter); | 399 | unsigned int expected_value{5}; |
110 | 400 | EXPECT_EQ(expected_value, counter); | ||
111 | 400 | } | 401 | } |
112 | 401 | 402 | ||
113 | 402 | TEST(Properties, DictionaryMappingToVariantsIsEncodedCorrectlyWithMap) | 403 | TEST(Properties, DictionaryMappingToVariantsIsEncodedCorrectlyWithMap) |
114 | @@ -421,10 +422,11 @@ | |||
115 | 421 | std::map<std::string, dbus::types::Variant> map; | 422 | std::map<std::string, dbus::types::Variant> map; |
116 | 422 | reader >> map; | 423 | reader >> map; |
117 | 423 | 424 | ||
124 | 424 | EXPECT_EQ(5, map.size()); | 425 | unsigned int expected_value{5}; |
125 | 425 | EXPECT_EQ(1, map.at("key1").as<std::uint32_t>()); | 426 | EXPECT_EQ(expected_value, map.size()); |
126 | 426 | EXPECT_EQ(2, map.at("key2").as<std::uint32_t>()); | 427 | EXPECT_EQ(std::uint32_t(1), map.at("key1").as<std::uint32_t>()); |
127 | 427 | EXPECT_EQ(3, map.at("key3").as<std::uint32_t>()); | 428 | EXPECT_EQ(std::uint32_t(2), map.at("key2").as<std::uint32_t>()); |
128 | 428 | EXPECT_EQ(4, map.at("key4").as<std::uint32_t>()); | 429 | EXPECT_EQ(std::uint32_t(3), map.at("key3").as<std::uint32_t>()); |
129 | 429 | EXPECT_EQ(5, map.at("key5").as<std::uint32_t>()); | 430 | EXPECT_EQ(std::uint32_t(4), map.at("key4").as<std::uint32_t>()); |
130 | 431 | EXPECT_EQ(std::uint32_t(5), map.at("key5").as<std::uint32_t>()); | ||
131 | 430 | } | 432 | } |
132 | 431 | 433 | ||
133 | === modified file 'tests/executor_test.cpp' | |||
134 | --- tests/executor_test.cpp 2014-01-14 14:24:29 +0000 | |||
135 | +++ tests/executor_test.cpp 2014-02-06 11:19:51 +0000 | |||
136 | @@ -101,7 +101,7 @@ | |||
137 | 101 | bus->install_executor(dbus::asio::make_executor(bus)); | 101 | bus->install_executor(dbus::asio::make_executor(bus)); |
138 | 102 | std::thread t{[bus](){bus->run();}}; | 102 | std::thread t{[bus](){bus->run();}}; |
139 | 103 | 103 | ||
141 | 104 | EXPECT_EQ(1, cross_process_sync.wait_for_signal_ready_for(std::chrono::milliseconds{500})); | 104 | EXPECT_EQ(std::uint32_t(1), cross_process_sync.wait_for_signal_ready_for(std::chrono::milliseconds{500})); |
142 | 105 | 105 | ||
143 | 106 | auto stub_service = dbus::Service::use_service(bus, dbus::traits::Service<test::Service>::interface_name()); | 106 | auto stub_service = dbus::Service::use_service(bus, dbus::traits::Service<test::Service>::interface_name()); |
144 | 107 | auto stub = stub_service->object_for_path(dbus::types::ObjectPath("/this/is/unlikely/to/exist/Service")); | 107 | auto stub = stub_service->object_for_path(dbus::types::ObjectPath("/this/is/unlikely/to/exist/Service")); |
145 | 108 | 108 | ||
146 | === modified file 'tests/service_test.cpp' | |||
147 | --- tests/service_test.cpp 2014-01-14 15:19:46 +0000 | |||
148 | +++ tests/service_test.cpp 2014-02-06 11:19:51 +0000 | |||
149 | @@ -108,7 +108,7 @@ | |||
150 | 108 | auto bus = session_bus(); | 108 | auto bus = session_bus(); |
151 | 109 | bus->install_executor(core::dbus::asio::make_executor(bus)); | 109 | bus->install_executor(core::dbus::asio::make_executor(bus)); |
152 | 110 | std::thread t{[bus](){ bus->run(); }}; | 110 | std::thread t{[bus](){ bus->run(); }}; |
154 | 111 | EXPECT_EQ(1, cps1.wait_for_signal_ready_for(std::chrono::milliseconds{500})); | 111 | EXPECT_EQ(std::uint32_t(1), cps1.wait_for_signal_ready_for(std::chrono::milliseconds{500})); |
155 | 112 | 112 | ||
156 | 113 | auto stub_service = dbus::Service::use_service(bus, dbus::traits::Service<test::Service>::interface_name()); | 113 | auto stub_service = dbus::Service::use_service(bus, dbus::traits::Service<test::Service>::interface_name()); |
157 | 114 | auto stub = stub_service->object_for_path(dbus::types::ObjectPath("/this/is/unlikely/to/exist/Service")); | 114 | auto stub = stub_service->object_for_path(dbus::types::ObjectPath("/this/is/unlikely/to/exist/Service")); |
158 | 115 | 115 | ||
159 | === modified file 'tests/service_watcher_test.cpp' | |||
160 | --- tests/service_watcher_test.cpp 2014-01-27 14:45:59 +0000 | |||
161 | +++ tests/service_watcher_test.cpp 2014-02-06 11:19:51 +0000 | |||
162 | @@ -65,7 +65,7 @@ | |||
163 | 65 | { | 65 | { |
164 | 66 | core::testing::SigTermCatcher sc; | 66 | core::testing::SigTermCatcher sc; |
165 | 67 | 67 | ||
167 | 68 | EXPECT_EQ(1, | 68 | EXPECT_EQ(std::uint32_t(1), |
168 | 69 | client_is_listening_for_service_registration.wait_for_signal_ready_for( | 69 | client_is_listening_for_service_registration.wait_for_signal_ready_for( |
169 | 70 | std::chrono::milliseconds{500})); | 70 | std::chrono::milliseconds{500})); |
170 | 71 | 71 | ||
171 | @@ -122,11 +122,11 @@ | |||
172 | 122 | if (t.joinable()) | 122 | if (t.joinable()) |
173 | 123 | t.join(); | 123 | t.join(); |
174 | 124 | 124 | ||
176 | 125 | EXPECT_EQ(1, owner_changed.size()); | 125 | EXPECT_EQ(std::uint32_t(1), owner_changed.size()); |
177 | 126 | EXPECT_FALSE(owner_changed.at(0).first.empty()); | 126 | EXPECT_FALSE(owner_changed.at(0).first.empty()); |
178 | 127 | EXPECT_TRUE(owner_changed.at(0).second.empty()); | 127 | EXPECT_TRUE(owner_changed.at(0).second.empty()); |
181 | 128 | EXPECT_EQ(1, service_registered); | 128 | EXPECT_EQ(std::uint32_t(1), service_registered); |
182 | 129 | EXPECT_EQ(0, service_unregistered); | 129 | EXPECT_EQ(std::uint32_t(0), service_unregistered); |
183 | 130 | 130 | ||
184 | 131 | return ::testing::Test::HasFailure() ? core::posix::exit::Status::failure : core::posix::exit::Status::success; | 131 | return ::testing::Test::HasFailure() ? core::posix::exit::Status::failure : core::posix::exit::Status::success; |
185 | 132 | }; | 132 | }; |
186 | @@ -145,7 +145,7 @@ | |||
187 | 145 | 145 | ||
188 | 146 | // Ensure that the client is listening for unregistration before we even | 146 | // Ensure that the client is listening for unregistration before we even |
189 | 147 | // start the service. | 147 | // start the service. |
191 | 148 | EXPECT_EQ(1, | 148 | EXPECT_EQ(std::uint32_t(1), |
192 | 149 | client_is_listening_for_service_unregistration.wait_for_signal_ready_for( | 149 | client_is_listening_for_service_unregistration.wait_for_signal_ready_for( |
193 | 150 | std::chrono::milliseconds{500})); | 150 | std::chrono::milliseconds{500})); |
194 | 151 | 151 | ||
195 | @@ -198,11 +198,11 @@ | |||
196 | 198 | if (t.joinable()) | 198 | if (t.joinable()) |
197 | 199 | t.join(); | 199 | t.join(); |
198 | 200 | 200 | ||
200 | 201 | EXPECT_EQ(1, owner_changed.size()); | 201 | EXPECT_EQ(std::uint32_t(1), owner_changed.size()); |
201 | 202 | EXPECT_TRUE(owner_changed.at(0).first.empty()); | 202 | EXPECT_TRUE(owner_changed.at(0).first.empty()); |
202 | 203 | EXPECT_FALSE(owner_changed.at(0).second.empty()); | 203 | EXPECT_FALSE(owner_changed.at(0).second.empty()); |
205 | 204 | EXPECT_EQ(0, service_registered); | 204 | EXPECT_EQ(std::uint32_t(0), service_registered); |
206 | 205 | EXPECT_EQ(1, service_unregistered); | 205 | EXPECT_EQ(std::uint32_t(1), service_unregistered); |
207 | 206 | 206 | ||
208 | 207 | return ::testing::Test::HasFailure() ? core::posix::exit::Status::failure : core::posix::exit::Status::success; | 207 | return ::testing::Test::HasFailure() ? core::posix::exit::Status::failure : core::posix::exit::Status::success; |
209 | 208 | }; | 208 | }; |
210 | 209 | 209 | ||
211 | === modified file 'tests/signal_delivery_test.cpp' | |||
212 | --- tests/signal_delivery_test.cpp 2014-01-30 10:57:01 +0000 | |||
213 | +++ tests/signal_delivery_test.cpp 2014-02-06 11:19:51 +0000 | |||
214 | @@ -77,7 +77,7 @@ | |||
215 | 77 | std::thread t{[bus](){ bus->run(); }}; | 77 | std::thread t{[bus](){ bus->run(); }}; |
216 | 78 | 78 | ||
217 | 79 | server_is_running.try_signal_ready_for(std::chrono::milliseconds{1000}); | 79 | server_is_running.try_signal_ready_for(std::chrono::milliseconds{1000}); |
219 | 80 | EXPECT_EQ(1, | 80 | EXPECT_EQ(std::uint32_t(1), |
220 | 81 | client_has_setup_signals_and_connections.wait_for_signal_ready_for( | 81 | client_has_setup_signals_and_connections.wait_for_signal_ready_for( |
221 | 82 | std::chrono::milliseconds{500})); | 82 | std::chrono::milliseconds{500})); |
222 | 83 | 83 | ||
223 | @@ -113,7 +113,7 @@ | |||
224 | 113 | test::Service::Interfaces::Foo::Signals::Dummy::ArgumentType received2 = -1; | 113 | test::Service::Interfaces::Foo::Signals::Dummy::ArgumentType received2 = -1; |
225 | 114 | 114 | ||
226 | 115 | // server ready | 115 | // server ready |
228 | 116 | EXPECT_EQ(1, | 116 | EXPECT_EQ(std::uint32_t(1), |
229 | 117 | server_is_running.wait_for_signal_ready_for(std::chrono::milliseconds{500})); | 117 | server_is_running.wait_for_signal_ready_for(std::chrono::milliseconds{500})); |
230 | 118 | 118 | ||
231 | 119 | auto stub_service = dbus::Service::use_service(bus, dbus::traits::Service<test::Service>::interface_name()); | 119 | auto stub_service = dbus::Service::use_service(bus, dbus::traits::Service<test::Service>::interface_name()); |
232 | @@ -141,8 +141,8 @@ | |||
233 | 141 | if (t.joinable()) | 141 | if (t.joinable()) |
234 | 142 | t.join(); | 142 | t.join(); |
235 | 143 | 143 | ||
238 | 144 | EXPECT_EQ(received1, 1); | 144 | EXPECT_EQ(std::uint32_t(1), received1); |
239 | 145 | EXPECT_EQ(received2, 2); | 145 | EXPECT_EQ(std::uint32_t(2), received2); |
240 | 146 | 146 | ||
241 | 147 | return ::testing::Test::HasFailure() ? core::posix::exit::Status::failure : core::posix::exit::Status::success; | 147 | return ::testing::Test::HasFailure() ? core::posix::exit::Status::failure : core::posix::exit::Status::success; |
242 | 148 | }; | 148 | }; |
243 | @@ -170,7 +170,7 @@ | |||
244 | 170 | std::thread t{[bus](){ bus->run(); }}; | 170 | std::thread t{[bus](){ bus->run(); }}; |
245 | 171 | 171 | ||
246 | 172 | server_is_running.try_signal_ready_for(std::chrono::milliseconds{1000}); | 172 | server_is_running.try_signal_ready_for(std::chrono::milliseconds{1000}); |
248 | 173 | EXPECT_EQ(1, | 173 | EXPECT_EQ(std::uint32_t(1), |
249 | 174 | client_has_setup_signals_and_connections.wait_for_signal_ready_for( | 174 | client_has_setup_signals_and_connections.wait_for_signal_ready_for( |
250 | 175 | std::chrono::milliseconds{500})); | 175 | std::chrono::milliseconds{500})); |
251 | 176 | 176 | ||
252 | @@ -204,7 +204,7 @@ | |||
253 | 204 | test::Service::Interfaces::Foo::Signals::Bar::ArgumentType received2 = -1; | 204 | test::Service::Interfaces::Foo::Signals::Bar::ArgumentType received2 = -1; |
254 | 205 | 205 | ||
255 | 206 | // server ready | 206 | // server ready |
257 | 207 | EXPECT_EQ(1, | 207 | EXPECT_EQ(std::uint32_t(1), |
258 | 208 | server_is_running.wait_for_signal_ready_for(std::chrono::milliseconds{500})); | 208 | server_is_running.wait_for_signal_ready_for(std::chrono::milliseconds{500})); |
259 | 209 | 209 | ||
260 | 210 | auto stub_service = dbus::Service::use_service(bus, dbus::traits::Service<test::Service>::interface_name()); | 210 | auto stub_service = dbus::Service::use_service(bus, dbus::traits::Service<test::Service>::interface_name()); |
261 | @@ -231,8 +231,8 @@ | |||
262 | 231 | if (t.joinable()) | 231 | if (t.joinable()) |
263 | 232 | t.join(); | 232 | t.join(); |
264 | 233 | 233 | ||
267 | 234 | EXPECT_EQ(received1, 1); | 234 | EXPECT_EQ(std::uint32_t(1), received1); |
268 | 235 | EXPECT_EQ(received2, 2); | 235 | EXPECT_EQ(std::uint32_t(2), received2); |
269 | 236 | 236 | ||
270 | 237 | return ::testing::Test::HasFailure() ? core::posix::exit::Status::failure : core::posix::exit::Status::success; | 237 | return ::testing::Test::HasFailure() ? core::posix::exit::Status::failure : core::posix::exit::Status::success; |
271 | 238 | }; | 238 | }; |
272 | @@ -260,7 +260,7 @@ | |||
273 | 260 | std::thread t{[bus](){ bus->run(); }}; | 260 | std::thread t{[bus](){ bus->run(); }}; |
274 | 261 | 261 | ||
275 | 262 | server_is_running.try_signal_ready_for(std::chrono::milliseconds{1000}); | 262 | server_is_running.try_signal_ready_for(std::chrono::milliseconds{1000}); |
277 | 263 | EXPECT_EQ(1, | 263 | EXPECT_EQ(std::uint32_t(1), |
278 | 264 | client_has_setup_signals_and_connections.wait_for_signal_ready_for( | 264 | client_has_setup_signals_and_connections.wait_for_signal_ready_for( |
279 | 265 | std::chrono::milliseconds{500})); | 265 | std::chrono::milliseconds{500})); |
280 | 266 | 266 | ||
281 | @@ -296,7 +296,7 @@ | |||
282 | 296 | test::Service::Interfaces::Foo::Signals::Dummy::ArgumentType received2 = -1; | 296 | test::Service::Interfaces::Foo::Signals::Dummy::ArgumentType received2 = -1; |
283 | 297 | 297 | ||
284 | 298 | // server ready | 298 | // server ready |
286 | 299 | EXPECT_EQ(1, | 299 | EXPECT_EQ(std::uint32_t(1), |
287 | 300 | server_is_running.wait_for_signal_ready_for(std::chrono::milliseconds{500})); | 300 | server_is_running.wait_for_signal_ready_for(std::chrono::milliseconds{500})); |
288 | 301 | 301 | ||
289 | 302 | auto stub_service = dbus::Service::use_service(bus, dbus::traits::Service<test::Service>::interface_name()); | 302 | auto stub_service = dbus::Service::use_service(bus, dbus::traits::Service<test::Service>::interface_name()); |
290 | @@ -323,8 +323,8 @@ | |||
291 | 323 | if (t.joinable()) | 323 | if (t.joinable()) |
292 | 324 | t.join(); | 324 | t.join(); |
293 | 325 | 325 | ||
296 | 326 | EXPECT_EQ(received1, 1); | 326 | EXPECT_EQ(std::uint32_t(1), received1); |
297 | 327 | EXPECT_EQ(received2, 1); | 327 | EXPECT_EQ(std::uint32_t(1), received2); |
298 | 328 | 328 | ||
299 | 329 | return ::testing::Test::HasFailure() ? core::posix::exit::Status::failure : core::posix::exit::Status::success; | 329 | return ::testing::Test::HasFailure() ? core::posix::exit::Status::failure : core::posix::exit::Status::success; |
300 | 330 | }; | 330 | }; |
301 | 331 | 331 | ||
302 | === modified file 'tests/stl_codec_test.cpp' | |||
303 | --- tests/stl_codec_test.cpp 2014-01-20 22:04:16 +0000 | |||
304 | +++ tests/stl_codec_test.cpp 2014-02-06 11:19:51 +0000 | |||
305 | @@ -89,7 +89,7 @@ | |||
306 | 89 | std::map<std::string, dbus::types::Variant> result; | 89 | std::map<std::string, dbus::types::Variant> result; |
307 | 90 | msg->reader() >> result; | 90 | msg->reader() >> result; |
308 | 91 | 91 | ||
310 | 92 | EXPECT_EQ(5, result.size()); | 92 | EXPECT_EQ(std::uint32_t(5), result.size()); |
311 | 93 | 93 | ||
312 | 94 | for (const auto& element : result) | 94 | for (const auto& element : result) |
313 | 95 | { | 95 | { |
FAILED: Continuous integration, rev:42 jenkins. qa.ubuntu. com/job/ dbus-cpp- ci/105/ jenkins. qa.ubuntu. com/job/ dbus-cpp- trusty- amd64-ci/ 85/console jenkins. qa.ubuntu. com/job/ dbus-cpp- trusty- armhf-ci/ 84/console jenkins. qa.ubuntu. com/job/ dbus-cpp- trusty- i386-ci/ 84/console
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/dbus- cpp-ci/ 105/rebuild
http://