Add base_unittests to win8 trybot. Fix PEImage tests.
commitb820f17a3767400dac00242c7ee5a948088a0b27
authorwfh <wfh@chromium.org>
Wed, 25 Feb 2015 03:02:39 +0000 (24 19:02 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 25 Feb 2015 03:03:23 +0000 (25 03:03 +0000)
treedb312337d45208b78481bc98350a167dfd3383e4
parenta27670eb86cb62e06a26c11903a619d014d110f4
Add base_unittests to win8 trybot. Fix PEImage tests.

Two fixes were required to work on win8:

1. To determine if a directory is a reparse point, use GetFileInformation() since using WIN32_FIND_DATA.dwFileAttributes doesn't work on Windows 8.  See https://msdn.microsoft.com/en-us/library/windows/desktop/aa363940.aspx

2. Update the PE image tests to use its own binary, change the expectation format, add support for Win 8.1 and re-enable on 64-bit.

BUG=373973,167707

Review URL: https://codereview.chromium.org/946183002

Cr-Commit-Position: refs/heads/master@{#317960}
base/BUILD.gn
base/base.gyp
base/base_unittests.isolate
base/files/file_enumerator_win.cc
base/win/pe_image_test.cc [new file with mode: 0644]
base/win/pe_image_unittest.cc
testing/buildbot/chromium_win8_trybot.json