diff options
author | Dan Rosart <torgen@google.com> | 2018-06-27 16:57:11 -0700 |
---|---|---|
committer | Dan Rosart <torgen@google.com> | 2018-06-27 16:57:11 -0700 |
commit | f54fc5b53a31ee744b04bdbc0dc15bb63d5960a8 (patch) | |
tree | d4b60c7ddfb5c7b99d86352f241806e62fb04c42 /test/core | |
parent | 0a6fdb20b46c1d9e4e276c99ddf95e078c9fc04b (diff) |
Include port_platform in gcp_environment tests.
Both the Windows and Linux tests use platform-specific macros to
determine whether they should execute, but they weren't including the
file where those macros were defined, so they were always running the
else case of that check, which meant they weren't testing anything.
Diffstat (limited to 'test/core')
-rw-r--r-- | test/core/security/check_gcp_environment_linux_test.cc | 2 | ||||
-rw-r--r-- | test/core/security/check_gcp_environment_windows_test.cc | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/test/core/security/check_gcp_environment_linux_test.cc b/test/core/security/check_gcp_environment_linux_test.cc index 6c436a3945..3acd5b6ae4 100644 --- a/test/core/security/check_gcp_environment_linux_test.cc +++ b/test/core/security/check_gcp_environment_linux_test.cc @@ -16,6 +16,8 @@ * */ +#include <grpc/support/port_platform.h> + #include "src/core/lib/security/credentials/alts/check_gcp_environment.h" #if GPR_LINUX diff --git a/test/core/security/check_gcp_environment_windows_test.cc b/test/core/security/check_gcp_environment_windows_test.cc index 46179b747d..2b9407e8ca 100644 --- a/test/core/security/check_gcp_environment_windows_test.cc +++ b/test/core/security/check_gcp_environment_windows_test.cc @@ -16,6 +16,8 @@ * */ +#include <grpc/support/port_platform.h> + #include "src/core/lib/security/credentials/alts/check_gcp_environment.h" #ifdef GPR_WINDOWS |