#include <signal.h>
#include <string.h>
#include <unistd.h>
#include <string>
#include <thread>
#include <vector>
#include "absl/flags/flag.h"
#include <grpc/grpc.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include <grpc/support/string_util.h>
#include "src/core/lib/gpr/env.h"
#include "test/core/util/port.h"
#include "test/core/util/test_config.h"
#include "test/cpp/util/subprocess.h"
#include "test/cpp/util/test_config.h"
Go to the source code of this file.
|
| ABSL_FLAG (bool, running_under_bazel, false, "True if this test is running under bazel. " "False indicates that this test is running under run_tests.py. " "Child process test binaries are located differently based on this flag. ") |
|
| ABSL_FLAG (std::string, extra_args, "", "Comma-separated list of opaque command args to plumb through to " "the binary pointed at by --test_bin_name") |
|
| ABSL_FLAG (std::string, grpc_test_directory_relative_to_test_srcdir, "/com_github_grpc_grpc", "This flag only applies if runner_under_bazel is true. This " "flag is ignored if runner_under_bazel is false. " "Directory of the <repo-root>/test directory relative to bazel's " "TEST_SRCDIR environment variable") |
|
| ABSL_FLAG (std::string, test_bin_name, "", "Name, without the preceding path, of the test binary") |
|
void | grpc::testing::InvokeResolverComponentTestsRunner (std::string test_runner_bin_path, const std::string &test_bin_path, const std::string &dns_server_bin_path, const std::string &records_config_path, const std::string &dns_resolver_bin_path, const std::string &tcp_connect_bin_path) |
|
int | main (int argc, char **argv) |
|
◆ ABSL_FLAG() [1/4]
ABSL_FLAG |
( |
bool |
, |
|
|
running_under_bazel |
, |
|
|
false |
, |
|
|
"True if this test is running under bazel. " "False indicates that this test is running under run_tests.py. " "Child process test binaries are located differently based on this flag. " |
|
|
) |
| |
◆ ABSL_FLAG() [2/4]
ABSL_FLAG |
( |
std::string |
, |
|
|
extra_args |
, |
|
|
"" |
, |
|
|
"Comma-separated list of opaque command args to plumb through to " "the binary pointed at by --test_bin_name" |
|
|
) |
| |
◆ ABSL_FLAG() [3/4]
ABSL_FLAG |
( |
std::string |
, |
|
|
grpc_test_directory_relative_to_test_srcdir |
, |
|
|
"/com_github_grpc_grpc" |
, |
|
|
"This flag only applies if runner_under_bazel is true. This " "flag is ignored if runner_under_bazel is false. " "Directory of the <repo-root>/test directory relative to bazel's " "TEST_SRCDIR environment variable" |
|
|
) |
| |
◆ ABSL_FLAG() [4/4]
ABSL_FLAG |
( |
std::string |
, |
|
|
test_bin_name |
, |
|
|
"" |
, |
|
|
" |
Name, |
|
|
without the preceding |
path, |
|
|
of the test binary" |
|
|
) |
| |
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |