Exclude unsupported tests from the android build.


BUG=
TEST=


Review URL: https://chromiumcodereview.appspot.com/10701121

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145985 0039d316-1c4b-4281-b951-d872f2087c98
parent c50d76c5
......@@ -130,6 +130,9 @@ class MultipleLockThread : public PlatformThread::Delegate {
} // namespace
// Android doesn't support SharedMemory::Open/Delete/
// CreateNamed(openExisting=true)
#if !defined(OS_ANDROID)
TEST(SharedMemoryTest, OpenClose) {
const uint32 kDataSize = 1024;
std::string test_name = "SharedMemoryOpenCloseTest";
......@@ -229,6 +232,7 @@ TEST(SharedMemoryTest, OpenExclusive) {
rv = memory1.Delete(test_name);
EXPECT_TRUE(rv);
}
#endif
// Create a set of N threads to each open a shared memory segment and write to
// it. Verify that they are always reading/writing consistent data.
......
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
......@@ -9,7 +9,7 @@
typedef PlatformTest SysInfoTest;
#if defined(OS_POSIX) && !defined(OS_MACOSX)
#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID)
TEST_F(SysInfoTest, MaxSharedMemorySize) {
// We aren't actually testing that it's correct, just that it's sane.
EXPECT_GT(base::SysInfo::MaxSharedMemorySize(), 0u);
......
......@@ -3,9 +3,7 @@
# Sometimes this is automatically generated by run_tests.py
ReadOnlyFileUtilTest.ContentsEqual
ReadOnlyFileUtilTest.TextContentsEqual
SharedMemoryTest.OpenExclusive
VerifyPathControlledByUserTest.Symlinks
SharedMemoryTest.OpenClose
StringPrintfTest.StringPrintfMisc
StringPrintfTest.StringAppendfString
StringPrintfTest.StringAppendfInt
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment