No Clang on end2end generated files

pull/13147/head
Yash Tibrewal 7 years ago
parent 40422d5fa6
commit 1b4ab01f79
  1. 8
      test/core/end2end/end2end_nosec_tests.cc
  2. 8
      test/core/end2end/end2end_tests.cc
  3. 2
      tools/dockerfile/grpc_clang_format/clang_format_all_the_things.sh

@ -130,13 +130,11 @@ extern void simple_metadata(grpc_end2end_test_config config);
extern void simple_metadata_pre_init(void); extern void simple_metadata_pre_init(void);
extern void simple_request(grpc_end2end_test_config config); extern void simple_request(grpc_end2end_test_config config);
extern void simple_request_pre_init(void); extern void simple_request_pre_init(void);
extern void stream_compression_compressed_payload( extern void stream_compression_compressed_payload(grpc_end2end_test_config config);
grpc_end2end_test_config config);
extern void stream_compression_compressed_payload_pre_init(void); extern void stream_compression_compressed_payload_pre_init(void);
extern void stream_compression_payload(grpc_end2end_test_config config); extern void stream_compression_payload(grpc_end2end_test_config config);
extern void stream_compression_payload_pre_init(void); extern void stream_compression_payload_pre_init(void);
extern void stream_compression_ping_pong_streaming( extern void stream_compression_ping_pong_streaming(grpc_end2end_test_config config);
grpc_end2end_test_config config);
extern void stream_compression_ping_pong_streaming_pre_init(void); extern void stream_compression_ping_pong_streaming_pre_init(void);
extern void streaming_error_response(grpc_end2end_test_config config); extern void streaming_error_response(grpc_end2end_test_config config);
extern void streaming_error_response_pre_init(void); extern void streaming_error_response_pre_init(void);
@ -213,7 +211,7 @@ void grpc_end2end_tests_pre_init(void) {
write_buffering_at_end_pre_init(); write_buffering_at_end_pre_init();
} }
void grpc_end2end_tests(int argc, char** argv, void grpc_end2end_tests(int argc, char **argv,
grpc_end2end_test_config config) { grpc_end2end_test_config config) {
int i; int i;

@ -132,13 +132,11 @@ extern void simple_metadata(grpc_end2end_test_config config);
extern void simple_metadata_pre_init(void); extern void simple_metadata_pre_init(void);
extern void simple_request(grpc_end2end_test_config config); extern void simple_request(grpc_end2end_test_config config);
extern void simple_request_pre_init(void); extern void simple_request_pre_init(void);
extern void stream_compression_compressed_payload( extern void stream_compression_compressed_payload(grpc_end2end_test_config config);
grpc_end2end_test_config config);
extern void stream_compression_compressed_payload_pre_init(void); extern void stream_compression_compressed_payload_pre_init(void);
extern void stream_compression_payload(grpc_end2end_test_config config); extern void stream_compression_payload(grpc_end2end_test_config config);
extern void stream_compression_payload_pre_init(void); extern void stream_compression_payload_pre_init(void);
extern void stream_compression_ping_pong_streaming( extern void stream_compression_ping_pong_streaming(grpc_end2end_test_config config);
grpc_end2end_test_config config);
extern void stream_compression_ping_pong_streaming_pre_init(void); extern void stream_compression_ping_pong_streaming_pre_init(void);
extern void streaming_error_response(grpc_end2end_test_config config); extern void streaming_error_response(grpc_end2end_test_config config);
extern void streaming_error_response_pre_init(void); extern void streaming_error_response_pre_init(void);
@ -216,7 +214,7 @@ void grpc_end2end_tests_pre_init(void) {
write_buffering_at_end_pre_init(); write_buffering_at_end_pre_init();
} }
void grpc_end2end_tests(int argc, char** argv, void grpc_end2end_tests(int argc, char **argv,
grpc_end2end_test_config config) { grpc_end2end_test_config config) {
int i; int i;

@ -29,7 +29,7 @@ for dir in $DIRS
do do
for glob in $GLOB for glob in $GLOB
do do
files="$files `find ${CLANG_FORMAT_ROOT}/$dir -name $glob -and -not -name '*.generated.*' -and -not -name '*.pb.h' -and -not -name '*.pb.c' -and -not -name '*.pb.cc' -and -not -name end2end_tests.c -and -not -name end2end_nosec_tests.c -and -not -name public_headers_must_be_c89.c`" files="$files `find ${CLANG_FORMAT_ROOT}/$dir -name $glob -and -not -name '*.generated.*' -and -not -name '*.pb.h' -and -not -name '*.pb.c' -and -not -name '*.pb.cc' -and -not -name end2end_tests.cc -and -not -name end2end_nosec_tests.cc -and -not -name public_headers_must_be_c89.c`"
done done
done done

Loading…
Cancel
Save