aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/security/check_gcp_environment_linux_test.cc
diff options
context:
space:
mode:
authorGravatar Dan Rosart <torgen@google.com>2018-06-27 16:57:11 -0700
committerGravatar Dan Rosart <torgen@google.com>2018-06-27 16:57:11 -0700
commitf54fc5b53a31ee744b04bdbc0dc15bb63d5960a8 (patch)
treed4b60c7ddfb5c7b99d86352f241806e62fb04c42 /test/core/security/check_gcp_environment_linux_test.cc
parent0a6fdb20b46c1d9e4e276c99ddf95e078c9fc04b (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/security/check_gcp_environment_linux_test.cc')
-rw-r--r--test/core/security/check_gcp_environment_linux_test.cc2
1 files changed, 2 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