Skip to content

Commit

Permalink
Merge branch 'master' into travis_python
Browse files Browse the repository at this point in the history
  • Loading branch information
murgatroid99 committed Mar 2, 2015
2 parents cedab13 + 410f44f commit aa88dce
Show file tree
Hide file tree
Showing 215 changed files with 1,560 additions and 836 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
language: cpp
before_install:
- sudo add-apt-repository ppa:yjwong/gflags -y
- sudo add-apt-repository ppa:h-rayflood/llvm -y
- sudo apt-get update -qq
- sudo apt-get install -qq libgtest-dev libgflags-dev python-virtualenv
- sudo apt-get install -qq libgtest-dev libgflags-dev python-virtualenv clang-3.5
env:
global:
- RUBY_VERSION=2.1
Expand All @@ -17,6 +18,6 @@ env:
script:
- rvm use $RUBY_VERSION
- gem install bundler
- ./tools/run_tests/run_tests.py -l $TEST -t -j 16 -c $CONFIG -s 2.0
- ./tools/run_tests/run_tests.py -l $TEST -t -j 16 -c $CONFIG -s 4.0
notifications:
email: false
70 changes: 69 additions & 1 deletion Makefile

Large diffs are not rendered by default.

42 changes: 40 additions & 2 deletions build.json
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,8 @@
"grpc",
"gpr_test_util",
"gpr"
]
],
"flaky": true
},
{
"name": "census_statistics_multiple_writers_test",
Expand Down Expand Up @@ -638,7 +639,8 @@
"grpc",
"gpr_test_util",
"gpr"
]
],
"flaky": true
},
{
"name": "census_stats_store_test",
Expand Down Expand Up @@ -1817,6 +1819,24 @@
"gpr"
]
},
{
"name": "qps_client_async",
"build": "test",
"run": false,
"language": "c++",
"src": [
"test/cpp/qps/qpstest.proto",
"test/cpp/qps/client_async.cc"
],
"deps": [
"grpc++_test_util",
"grpc_test_util",
"grpc++",
"grpc",
"gpr_test_util",
"gpr"
]
},
{
"name": "qps_server",
"build": "test",
Expand All @@ -1835,6 +1855,24 @@
"gpr"
]
},
{
"name": "qps_server_async",
"build": "test",
"run": false,
"language": "c++",
"src": [
"test/cpp/qps/qpstest.proto",
"test/cpp/qps/server_async.cc"
],
"deps": [
"grpc++_test_util",
"grpc_test_util",
"grpc++",
"grpc",
"gpr_test_util",
"gpr"
]
},
{
"name": "status_test",
"build": "test",
Expand Down
6 changes: 3 additions & 3 deletions examples/pubsub/publisher.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
*
*/

#ifndef __GRPCPP_EXAMPLES_PUBSUB_PUBLISHER_H_
#define __GRPCPP_EXAMPLES_PUBSUB_PUBLISHER_H_
#ifndef GRPC_EXAMPLES_PUBSUB_PUBLISHER_H
#define GRPC_EXAMPLES_PUBSUB_PUBLISHER_H

#include <grpc++/channel_interface.h>
#include <grpc++/status.h>
Expand Down Expand Up @@ -64,4 +64,4 @@ class Publisher {
} // namespace examples
} // namespace grpc

#endif // __GRPCPP_EXAMPLES_PUBSUB_PUBLISHER_H_
#endif // GRPC_EXAMPLES_PUBSUB_PUBLISHER_H
6 changes: 3 additions & 3 deletions examples/pubsub/subscriber.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
*
*/

#ifndef __GRPCPP_EXAMPLES_PUBSUB_SUBSCRIBER_H_
#define __GRPCPP_EXAMPLES_PUBSUB_SUBSCRIBER_H_
#ifndef GRPC_EXAMPLES_PUBSUB_SUBSCRIBER_H
#define GRPC_EXAMPLES_PUBSUB_SUBSCRIBER_H

#include <grpc++/channel_interface.h>
#include <grpc++/status.h>
Expand Down Expand Up @@ -65,4 +65,4 @@ class Subscriber {
} // namespace examples
} // namespace grpc

#endif // __GRPCPP_EXAMPLES_PUBSUB_SUBSCRIBER_H_
#endif // GRPC_EXAMPLES_PUBSUB_SUBSCRIBER_H
6 changes: 3 additions & 3 deletions include/grpc++/async_unary_call.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
*
*/

#ifndef __GRPCPP_ASYNC_UNARY_CALL_H__
#define __GRPCPP_ASYNC_UNARY_CALL_H__
#ifndef GRPCXX_ASYNC_UNARY_CALL_H
#define GRPCXX_ASYNC_UNARY_CALL_H

#include <grpc++/channel_interface.h>
#include <grpc++/client_context.h>
Expand Down Expand Up @@ -138,4 +138,4 @@ class ServerAsyncResponseWriter GRPC_FINAL

} // namespace grpc

#endif // __GRPCPP_ASYNC_UNARY_CALL_H__
#endif // GRPCXX_ASYNC_UNARY_CALL_H
6 changes: 3 additions & 3 deletions include/grpc++/channel_arguments.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
*
*/

#ifndef __GRPCPP_CHANNEL_ARGUMENTS_H_
#define __GRPCPP_CHANNEL_ARGUMENTS_H_
#ifndef GRPCXX_CHANNEL_ARGUMENTS_H
#define GRPCXX_CHANNEL_ARGUMENTS_H

#include <vector>
#include <list>
Expand Down Expand Up @@ -82,4 +82,4 @@ class ChannelArguments {

} // namespace grpc

#endif // __GRPCPP_CHANNEL_ARGUMENTS_H_
#endif // GRPCXX_CHANNEL_ARGUMENTS_H
6 changes: 3 additions & 3 deletions include/grpc++/channel_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
*
*/

#ifndef __GRPCPP_CHANNEL_INTERFACE_H__
#define __GRPCPP_CHANNEL_INTERFACE_H__
#ifndef GRPCXX_CHANNEL_INTERFACE_H
#define GRPCXX_CHANNEL_INTERFACE_H

#include <grpc++/status.h>
#include <grpc++/impl/call.h>
Expand Down Expand Up @@ -63,4 +63,4 @@ class ChannelInterface : public CallHook {

} // namespace grpc

#endif // __GRPCPP_CHANNEL_INTERFACE_H__
#endif // GRPCXX_CHANNEL_INTERFACE_H
6 changes: 3 additions & 3 deletions include/grpc++/client_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
*
*/

#ifndef __GRPCPP_CLIENT_CONTEXT_H__
#define __GRPCPP_CLIENT_CONTEXT_H__
#ifndef GRPCXX_CLIENT_CONTEXT_H
#define GRPCXX_CLIENT_CONTEXT_H

#include <chrono>
#include <map>
Expand Down Expand Up @@ -151,4 +151,4 @@ class ClientContext {

} // namespace grpc

#endif // __GRPCPP_CLIENT_CONTEXT_H__
#endif // GRPCXX_CLIENT_CONTEXT_H
6 changes: 3 additions & 3 deletions include/grpc++/completion_queue.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
*
*/

#ifndef __GRPCPP_COMPLETION_QUEUE_H__
#define __GRPCPP_COMPLETION_QUEUE_H__
#ifndef GRPCXX_COMPLETION_QUEUE_H
#define GRPCXX_COMPLETION_QUEUE_H

#include <grpc++/impl/client_unary_call.h>

Expand Down Expand Up @@ -121,4 +121,4 @@ class CompletionQueue {

} // namespace grpc

#endif // __GRPCPP_COMPLETION_QUEUE_H__
#endif // GRPCXX_COMPLETION_QUEUE_H
6 changes: 3 additions & 3 deletions include/grpc++/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
*
*/

#ifndef __GRPCPP_CONFIG_H__
#define __GRPCPP_CONFIG_H__
#ifndef GRPCXX_CONFIG_H
#define GRPCXX_CONFIG_H

#include <string>

Expand All @@ -50,4 +50,4 @@ typedef std::string string;

} // namespace grpc

#endif // __GRPCPP_CONFIG_H__
#endif // GRPCXX_CONFIG_H
6 changes: 3 additions & 3 deletions include/grpc++/create_channel.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
*
*/

#ifndef __GRPCPP_CREATE_CHANNEL_H__
#define __GRPCPP_CREATE_CHANNEL_H__
#ifndef GRPCXX_CREATE_CHANNEL_H
#define GRPCXX_CREATE_CHANNEL_H

#include <memory>

Expand All @@ -55,4 +55,4 @@ std::shared_ptr<ChannelInterface> CreateChannel(

} // namespace grpc

#endif // __GRPCPP_CREATE_CHANNEL_H__
#endif // GRPCXX_CREATE_CHANNEL_H
6 changes: 3 additions & 3 deletions include/grpc++/credentials.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
*
*/

#ifndef __GRPCPP_CREDENTIALS_H_
#define __GRPCPP_CREDENTIALS_H_
#ifndef GRPCXX_CREDENTIALS_H
#define GRPCXX_CREDENTIALS_H

#include <chrono>
#include <memory>
Expand Down Expand Up @@ -133,4 +133,4 @@ class CredentialsFactory {

} // namespace grpc

#endif // __GRPCPP_CREDENTIALS_H_
#endif // GRPCXX_CREDENTIALS_H
6 changes: 3 additions & 3 deletions include/grpc++/impl/call.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
*
*/

#ifndef __GRPCPP_CALL_H__
#define __GRPCPP_CALL_H__
#ifndef GRPCXX_IMPL_CALL_H
#define GRPCXX_IMPL_CALL_H

#include <grpc/grpc.h>
#include <grpc++/config.h>
Expand Down Expand Up @@ -143,4 +143,4 @@ class Call GRPC_FINAL {

} // namespace grpc

#endif // __GRPCPP_CALL_INTERFACE_H__
#endif // GRPCXX_IMPL_CALL_H
6 changes: 3 additions & 3 deletions include/grpc++/impl/client_unary_call.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
*
*/

#ifndef __GRPCPP_CLIENT_UNARY_CALL_H__
#define __GRPCPP_CLIENT_UNARY_CALL_H__
#ifndef GRPCXX_IMPL_CLIENT_UNARY_CALL_H
#define GRPCXX_IMPL_CLIENT_UNARY_CALL_H

namespace google {
namespace protobuf {
Expand All @@ -56,4 +56,4 @@ Status BlockingUnaryCall(ChannelInterface *channel, const RpcMethod &method,

} // namespace grpc

#endif
#endif // GRPCXX_IMPL_CLIENT_UNARY_CALL_H
6 changes: 3 additions & 3 deletions include/grpc++/impl/internal_stub.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
*
*/

#ifndef __GRPCPP_IMPL_INTERNAL_STUB_H__
#define __GRPCPP_IMPL_INTERNAL_STUB_H__
#ifndef GRPCXX_IMPL_INTERNAL_STUB_H
#define GRPCXX_IMPL_INTERNAL_STUB_H

#include <memory>

Expand All @@ -57,4 +57,4 @@ class InternalStub {

} // namespace grpc

#endif // __GRPCPP_IMPL_INTERNAL_STUB_H__
#endif // GRPCXX_IMPL_INTERNAL_STUB_H
6 changes: 3 additions & 3 deletions include/grpc++/impl/rpc_method.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
*
*/

#ifndef __GRPCPP_IMPL_RPC_METHOD_H__
#define __GRPCPP_IMPL_RPC_METHOD_H__
#ifndef GRPCXX_IMPL_RPC_METHOD_H
#define GRPCXX_IMPL_RPC_METHOD_H

namespace google {
namespace protobuf {
Expand Down Expand Up @@ -66,4 +66,4 @@ class RpcMethod {

} // namespace grpc

#endif // __GRPCPP_IMPL_RPC_METHOD_H__
#endif // GRPCXX_IMPL_RPC_METHOD_H
6 changes: 3 additions & 3 deletions include/grpc++/impl/rpc_service_method.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
*
*/

#ifndef __GRPCPP_IMPL_RPC_SERVICE_METHOD_H__
#define __GRPCPP_IMPL_RPC_SERVICE_METHOD_H__
#ifndef GRPCXX_IMPL_RPC_SERVICE_METHOD_H
#define GRPCXX_IMPL_RPC_SERVICE_METHOD_H

#include <functional>
#include <map>
Expand Down Expand Up @@ -203,4 +203,4 @@ class RpcService {

} // namespace grpc

#endif // __GRPCPP_IMPL_RPC_SERVICE_METHOD_H__
#endif // GRPCXX_IMPL_RPC_SERVICE_METHOD_H
6 changes: 3 additions & 3 deletions include/grpc++/impl/service_type.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
*
*/

#ifndef __GRPCPP_IMPL_SERVICE_TYPE_H__
#define __GRPCPP_IMPL_SERVICE_TYPE_H__
#ifndef GRPCXX_IMPL_SERVICE_TYPE_H
#define GRPCXX_IMPL_SERVICE_TYPE_H

namespace google {
namespace protobuf {
Expand Down Expand Up @@ -128,4 +128,4 @@ class AsynchronousService {

} // namespace grpc

#endif // __GRPCPP_IMPL_SERVICE_TYPE_H__
#endif // GRPCXX_IMPL_SERVICE_TYPE_H
6 changes: 3 additions & 3 deletions include/grpc++/server.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
*
*/

#ifndef __GRPCPP_SERVER_H__
#define __GRPCPP_SERVER_H__
#ifndef GRPCXX_SERVER_H
#define GRPCXX_SERVER_H

#include <condition_variable>
#include <list>
Expand Down Expand Up @@ -130,4 +130,4 @@ class Server GRPC_FINAL : private CallHook,

} // namespace grpc

#endif // __GRPCPP_SERVER_H__
#endif // GRPCXX_SERVER_H
6 changes: 3 additions & 3 deletions include/grpc++/server_builder.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
*
*/

#ifndef __GRPCPP_SERVER_BUILDER_H__
#define __GRPCPP_SERVER_BUILDER_H__
#ifndef GRPCXX_SERVER_BUILDER_H
#define GRPCXX_SERVER_BUILDER_H

#include <memory>
#include <vector>
Expand Down Expand Up @@ -88,4 +88,4 @@ class ServerBuilder {

} // namespace grpc

#endif // __GRPCPP_SERVER_BUILDER_H__
#endif // GRPCXX_SERVER_BUILDER_H
Loading

0 comments on commit aa88dce

Please sign in to comment.