Index: tools/gn/exec_process_unittest.cc |
diff --git a/tools/gn/exec_process_unittest.cc b/tools/gn/exec_process_unittest.cc |
index 41c1802066397c61654a2a13b0c53d48333959d6..a5697b09380109fe0eb9a8d5e713aa53150b813f 100644 |
--- a/tools/gn/exec_process_unittest.cc |
+++ b/tools/gn/exec_process_unittest.cc |
@@ -14,6 +14,10 @@ |
namespace internal { |
+// TODO(cjhopman): Enable these tests when windows ExecProcess handles stderr. |
+// 'python' is not runnable on Windows. Adding ["cmd", "/c"] fails because |
+// CommandLine does unusual reordering of args. |
+#if !defined(OS_WIN) |
namespace { |
bool ExecPython(const std::string& command, |
std::string* std_out, |
@@ -35,10 +39,6 @@ bool ExecPython(const std::string& command, |
} |
} // namespace |
-// TODO(cjhopman): Enable these tests when windows ExecProcess handles stderr. |
-// 'python' is not runnable on Windows. Adding ["cmd", "/c"] fails because |
-// CommandLine does unusual reordering of args. |
-#if !defined(OS_WIN) |
TEST(ExecProcessTest, TestExitCode) { |
std::string std_out, std_err; |
int exit_code; |