diff options
author | Erwin Jansen <jansene@google.com> | 2019-02-15 16:11:48 -0800 |
---|---|---|
committer | Erwin Jansen <jansene@google.com> | 2019-02-15 16:11:48 -0800 |
commit | 15cde8180a45882a51c0fcc945aa16400a1f505b (patch) | |
tree | 1194c95e9e2c38e3d0ae6131d678eb3924c49308 | |
parent | 1c0573b6b071e40512fe9680325dc8592e280b60 (diff) | |
download | google-breakpad-15cde8180a45882a51c0fcc945aa16400a1f505b.tar.gz |
Fix windows unit test
Exclude testing for PEB on 64 bit.
Change-Id: Ia929738372232b7b63fa71690f9b4000193d5f45
-rw-r--r-- | src/client/windows/unittests/exception_handler_test.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/client/windows/unittests/exception_handler_test.cc b/src/client/windows/unittests/exception_handler_test.cc index a4ce12a8..ad5b0ae8 100644 --- a/src/client/windows/unittests/exception_handler_test.cc +++ b/src/client/windows/unittests/exception_handler_test.cc @@ -267,9 +267,11 @@ TEST_F(ExceptionHandlerTest, InvalidParameterMiniDumpTest) { EXPECT_TRUE(mini.HasStream(HandleDataStream)); EXPECT_TRUE(full.HasStream(HandleDataStream)); - // We expect PEB and TEBs in this dump. - EXPECT_TRUE(mini.HasTebs() || full.HasTebs()); - EXPECT_TRUE(mini.HasPeb() || full.HasPeb()); + #ifndef _WIN64 + // We expect PEB and TEBs in this dump. + EXPECT_TRUE(mini.HasTebs() || full.HasTebs()); + EXPECT_TRUE(mini.HasPeb() || full.HasPeb()); + #endif // Minidump should have a memory listing, but no 64-bit memory. EXPECT_TRUE(mini.HasStream(MemoryListStream)); |