mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-09 14:06:33 +00:00
win: Don't run x64 specific test unless built for x64
R=mark@chromium.org BUG=crashpad:50 Review URL: https://codereview.chromium.org/1343433003 .
This commit is contained in:
parent
81269ee676
commit
d62866f734
@ -157,9 +157,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
|
||||
// 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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user