Craig Tiller
35320cbc76
[promises] Convert lame client ( #29587 )
...
* [promises] Convert lame client
* fixes
* fixes
* Automated change: Fix sanity tests
* cleanup
* fix
* fix
* review feedback
* fix
* no ok lame channels
* fix
* fix
* Update promise_based_filter.h
* [iwyu] Better script
* eliminate race
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
440e91fd41
[grrr] Add a test that BUILD.gn does not exist ( #29498 )
...
* Add a test that BUILD.gn does not exist
* fix copyright
* review feedback
3 years ago
Craig Tiller
42b083322f
Check IWYU status in presubmits ( #28180 )
...
* fixes
* fixes
* fixes
* allow running outside docker
* x
* Automated change: Fix sanity tests
* fix
* fix
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Yash Tibrewal
f28695351e
Prevent direct usage of absl::Mutex ( #29424 )
...
* Add script to prevent absl::Mutex occurrences
* sanity and fixes
* shellcheck
3 years ago
Yash Tibrewal
01f333a1c1
TlsCredentials: Comparator implementation ( #28940 )
...
* TlsCredentials: Comparator implementation
* Update tests
* Redundant namespace qualifiers
* clang-tidy
* Reviewer comments
* Reviewer comments
* Reviewer comments
* Reviewer comments
* Reviewer comments
* Add generator for grpc_tls_credentials_options.h
* Generator script modifications for tests
* Sanity
* Reviewer comments
* Reviewer comments
* Add a common place to look-up known types
* Formatting
* Script fix
* Reviewer comments
* Add test mode to script
* Add to sanitize.sh
* clang-tidy
* Fix
* Fix
* Reviewer comments
* Clang-format
3 years ago
AJ Heller
85189b24bb
Reintroduce: Avoid fully qualifying namespaces (and add check) ( #28917 )
...
Based on a handful of https://abseil.io/tips , it's generally advised to
only fully-qualify namespaces when in a `using` statement, or when it's
otherwise required for compilation. In all other cases, the general
recommendation is to not fully-qualify.
This change fixes most `grpc.*` namespace uses. There are potential
challenges in trying to make blanket changes to non-gRPC namespace uses,
such as `::testing`, since there is also a `grpc::testing` namespace.
3 years ago
AJ Heller
e72a5fe5dd
Revert "Avoid fully qualifying namespaces (and add check) ( #28901 )" ( #28916 )
...
This reverts commit fc7314c701
.
3 years ago
AJ Heller
fc7314c701
Avoid fully qualifying namespaces (and add check) ( #28901 )
...
Based on a handful of https://abseil.io/tips , it's generally advised to
only fully-qualify namespaces when in a `using` statement, or when it's
otherwise required for compilation. In all other cases, the general
recommendation is to not fully-qualify.
This change fixes most `grpc.*` namespace uses. There are potential
challenges in trying to make blanket changes to non-gRPC namespace uses,
such as `::testing`, since there is also a `grpc::testing` namespace.
3 years ago
Craig Tiller
e29bdfe4e8
Add a test for includes without paths ( #28532 )
...
* Add a test for includes without paths
* fix path
* fix
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
6af45a35ba
Tooling to remove redundant grpc_core:: namespace references ( #28030 )
...
* Tooling to remove redundant grpc_core:: namespaces
These references tend to show up in our C++ code after C modules get
converted. Many get caught in review, many get missed.
* use it
* clang-format
3 years ago
Craig Tiller
d1e01ac139
Add a test for a (now-illegal) build file construct ( #27602 )
...
* Add a test for a (now-illegal) build file construct
* add to test suite!
* fix
* fix
* fix syntax
3 years ago
Craig Tiller
969f3d55ef
Check that grpc_package statements have the right name ( #27608 )
...
* named-right
* Update check_package_name.py
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
AJ Heller
398b44405f
Add sanity check preventing "DO NOT SUBMIT"s from submitting ( #27250 )
3 years ago
Craig Tiller
b062fcd5c6
Ensure consistency of include style for <grpc.* headers ( #27233 )
...
* Add a tool to ensure consistency in how grpc public headers are included
* Apply tool
* add to test suite
* isort
3 years ago
Lidi Zheng
2231c2ba77
Introduce Python import sorting to our sanity test suite ( #26768 )
...
* Add isort_code.sh to sanity tests
* Run tools/distrib/isort_code.sh
* Fine tune the import order for relative imports
* Make pylint and project generation happy
* Fix a few corner cases
* Use --check instead of --diff
* The import order impacts test result somehow
* Make isort print diff and check output at the same time
* Let tools/run_tests/python_utils be firstparty library
* Run isort against latest HEAD
3 years ago
Yash Tibrewal
41df38bff8
Add script to check for illegal terms
4 years ago
Esun Kim
8db60763ca
Update by review
4 years ago
Esun Kim
0e0e12aa22
Using comp_db for clang-tidy
4 years ago
Vijay Pai
54a10f265d
Consistency check core_version and version
4 years ago
Lidi Zheng
4bb124f54f
Make yapf_code capable of making in-place changes
5 years ago
Lidi Zheng
5c048a4c7b
Move check pytype script to tools/distrib
5 years ago
Lidi Zheng
684c50389c
Add pytype as one of our sanity tests
5 years ago
Muxi Yan
3d9d825b3b
Rewrite the sanity check script
5 years ago
Vijay Pai
405d7b4ce0
Ban use of std::sync constructs
5 years ago
Lidi Zheng
2990b484fe
Add buildifier to sanity_tests.yaml
5 years ago
Esun Kim
807cd08f4a
Fix upb build typo
5 years ago
Esun Kim
e45c5f021b
Add check_upb_output to sanity test
5 years ago
Muxi Yan
bb7829b87b
Relocate cpu_cost to correct test case
6 years ago
Muxi Yan
ec8777c6aa
Add protobuf pod version sanitizer
6 years ago
Alexander Polcyn
880796e8ba
Revert "Ban std:: sync constructs"
...
This reverts commit bb8ba4547a
.
6 years ago
Vijay Pai
bb8ba4547a
Ban std:: sync constructs
6 years ago
Bill Feng
6e4df4fdfa
added qps scenario change to sanity checks
6 years ago
Muxi Yan
b24b212ee5
Make symbols of BoringSSL private to gRPC
6 years ago
Vijay Pai
79851428e9
Add a sanity check to avoid reintroducing dependence on cpp by core
6 years ago
David Garcia Quintas
8d35b8342c
Remove deprecated check_sources_and_headers.py sanity script
7 years ago
Alexander Polcyn
db3e898a98
Add a sanity check for inclusion of port_platform.h
7 years ago
Muxi Yan
0e00c43082
Move headers from grpc++ to grpcpp
7 years ago
ncteisen
1adad72979
Add to sanity, dont fix by default
7 years ago
Mehrdad Afshari
a2ed77db56
Add a sanity test for shellcheck
...
Start by checking the scripts in tools/run_tests/helper_scripts.
7 years ago
Vijay Pai
12bfc62e81
Sanity check to make sure that known unsecure target doesn't require security
7 years ago
Craig Tiller
d2ff02df18
Actually turn on the test
7 years ago
Craig Tiller
4ac2b8e585
Enable clang-tidy as a sanity check, fix up all known failures
7 years ago
josh
bd42ca1110
Adding check_bazel_workspace.py to perform a sanity check that the external repo dependencies expressed via git submodules and those expressed as Bazel WORKSPACE rules agree exactly.
7 years ago
Jan Tattermusch
eff25f9f5c
remove check_vsprojects sanity test
7 years ago
Vijay Pai
0d66b437ac
Check that all structs/unions in public core headers have named types
7 years ago
ncteisen
920bf3cdac
Add tracer sanity test
7 years ago
Craig Tiller
e476f7d33f
Strawman OWNERS --> CODEOWNERS script
7 years ago
Mehrdad Afshari
1a967c31c3
Added Pylint to sanity tests
...
Pylint is only enabled for "grpcio/grpc" package,
and various specific checks that currently fail are disabled,
each with a respective TODO item in the .pylintrc file.
8 years ago
Nathaniel Manista
00ac6288fd
pyformat_code.sh → yapf_code.sh
...
This should have been a part of 06dea573da
.
8 years ago
Masood Malekghassemi
06dea573da
Enable running Python formatting
8 years ago