From f54fc5b53a31ee744b04bdbc0dc15bb63d5960a8 Mon Sep 17 00:00:00 2001 From: Dan Rosart Date: Wed, 27 Jun 2018 16:57:11 -0700 Subject: 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. --- test/core/security/check_gcp_environment_linux_test.cc | 2 ++ test/core/security/check_gcp_environment_windows_test.cc | 2 ++ 2 files changed, 4 insertions(+) (limited to 'test/core/security') 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 + #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 + #include "src/core/lib/security/credentials/alts/check_gcp_environment.h" #ifdef GPR_WINDOWS -- cgit v1.2.3