Index: util/win/process_info_test.cc |
diff --git a/util/win/process_info_test.cc b/util/win/process_info_test.cc |
index 76ecb4a603b303bf135b899cd68572a90a45ed1e..de4bbabcade23a35a36acfdfd908e632d03f777c 100644 |
--- a/util/win/process_info_test.cc |
+++ b/util/win/process_info_test.cc |
@@ -161,9 +161,14 @@ void TestOtherProcess(const std::wstring& child_name_suffix) { |
wcslen(kLz32dllName))); |
} |
+// This test can't run the child if the host OS is x86, and can't read from the |
+// child if it is x86 and the child is x64, so it only makes sense to run this |
Mark Mentovai
2015/09/11 22:40:58
“can’t read from the child if it is x86 and the ch
scottmg
2015/09/11 22:45:51
A bit of both. There's undocumented equivalents to
Mark Mentovai
2015/09/11 22:51:17
Maybe not useful, but interesting, and if it’s jus
|
+// if we built as x64. |
+#if defined(ARCH_CPU_64_BITS) |
TEST(ProcessInfo, OtherProcessX64) { |
TestOtherProcess(L"x64"); |
} |
+#endif // ARCH_CPU_64_BITS |
TEST(ProcessInfo, OtherProcessX86) { |
TestOtherProcess(L"x86"); |