diff options
author | maruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-29 19:54:51 +0000 |
---|---|---|
committer | maruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-29 19:54:51 +0000 |
commit | b6545a45fac4b9833ef2e31970a1b1c0a5830950 (patch) | |
tree | a4a4678e58bef7a1f04b0f02dc80966c58bb05e1 | |
parent | debe481a67bbfeca1c440bac22b0898f8469035b (diff) | |
download | chromium_src-b6545a45fac4b9833ef2e31970a1b1c0a5830950.zip chromium_src-b6545a45fac4b9833ef2e31970a1b1c0a5830950.tar.gz chromium_src-b6545a45fac4b9833ef2e31970a1b1c0a5830950.tar.bz2 |
Silence this unit test on Windows 2003 until bug 2732 is fixed.
Review URL: http://codereview.chromium.org/4335
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2687 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | base/pe_image_unittest.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/base/pe_image_unittest.cc b/base/pe_image_unittest.cc index 4d47356..2bac837 100644 --- a/base/pe_image_unittest.cc +++ b/base/pe_image_unittest.cc @@ -6,6 +6,7 @@ #include "testing/gtest/include/gtest/gtest.h" #include "base/pe_image.h" +#include "base/win_util.h" // Just counts the number of invocations. bool ExportsCallback(const PEImage &image, @@ -137,6 +138,9 @@ int GetExpectedValue(Value value, DWORD os) { // Tests that we are able to enumerate stuff from a PE file, and that // the actual number of items found is within the expected range. TEST(PEImageTest, EnumeratesPE) { + // Windows Server 2003 is not supported as a test environment for this test. + if (win_util::GetWinVersion() == win_util::WINVERSION_SERVER_2003) + return; HMODULE module = LoadLibrary(L"advapi32.dll"); ASSERT_TRUE(NULL != module); |