Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(158)

Unified Diff: util/win/process_info_test.cc

Issue 1343433003: win: Don't run x64 specific test unless built for x64 (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@fix-wow64test
Patch Set: . Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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");
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698