mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Fix coverage for network and network_proxy tests
PiperOrigin-RevId: 269314101 Change-Id: I65f15261a22f8f5b6250396e41d76ef40a90ef94
This commit is contained in:
parent
0aa7183502
commit
846717def1
|
@ -167,6 +167,9 @@ int main(int argc, char** argv) {
|
|||
defined(THREAD_SANITIZER)
|
||||
return EXIT_SUCCESS;
|
||||
#endif
|
||||
if (getenv("COVERAGE") != nullptr) {
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
gflags::ParseCommandLineFlags(&argc, &argv, true);
|
||||
google::InitGoogleLogging(argv[0]);
|
||||
|
|
|
@ -107,6 +107,9 @@ int main(int argc, char** argv) {
|
|||
defined(THREAD_SANITIZER)
|
||||
return EXIT_SUCCESS;
|
||||
#endif
|
||||
if (getenv("COVERAGE") != nullptr) {
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
gflags::ParseCommandLineFlags(&argc, &argv, true);
|
||||
google::InitGoogleLogging(argv[0]);
|
||||
|
|
Loading…
Reference in New Issue
Block a user