summaryrefslogtreecommitdiff
path: root/tests/malloc_test.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2019-03-27 08:51:02 -0700
committerElliott Hughes <enh@google.com>2019-03-27 08:51:02 -0700
commit109072038a470a77396582a64ddba825fe813b8f (patch)
treed3a375f926c47f8a6c2da63f878a5fa53252bb4b /tests/malloc_test.cpp
parente08288465ece24860d61788b975a8267a4594379 (diff)
Convert new tests to GTEST_SKIP.
These went in while we were waiting for the infrastructure to catch up. Test: treehugger Change-Id: I1179d1aba8f1369d320f82705958b36c6930babf
Diffstat (limited to 'tests/malloc_test.cpp')
-rw-r--r--tests/malloc_test.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/malloc_test.cpp b/tests/malloc_test.cpp
index a5cc34a2a..706de15db 100644
--- a/tests/malloc_test.cpp
+++ b/tests/malloc_test.cpp
@@ -728,7 +728,7 @@ TEST(android_mallopt, set_allocation_limit) {
testing::ExitedWithCode(0), "");
#endif
#else
- GTEST_LOG_(INFO) << "This tests a bionic extension.\n";
+ GTEST_SKIP() << "bionic extension";
#endif
}
@@ -740,7 +740,7 @@ TEST(android_mallopt, set_allocation_limit_multiple) {
limit = 32 * 1024 * 1024;
ASSERT_FALSE(android_mallopt(M_SET_ALLOCATION_LIMIT_BYTES, &limit, sizeof(limit)));
#else
- GTEST_LOG_(INFO) << "This tests a bionic extension.\n";
+ GTEST_SKIP() << "bionic extension";
#endif
}
@@ -805,7 +805,7 @@ TEST(android_mallopt, set_allocation_limit_realloc_increase) {
VerifyMaxPointers(max_pointers);
#else
- GTEST_LOG_(INFO) << "This tests a bionic extension.\n";
+ GTEST_SKIP() << "bionic extension";
#endif
}
@@ -833,7 +833,7 @@ TEST(android_mallopt, set_allocation_limit_realloc_decrease) {
VerifyMaxPointers(max_pointers);
#else
- GTEST_LOG_(INFO) << "This tests a bionic extension.\n";
+ GTEST_SKIP() << "bionic extension";
#endif
}
@@ -853,7 +853,7 @@ TEST(android_mallopt, set_allocation_limit_realloc_free) {
VerifyMaxPointers(max_pointers);
#else
- GTEST_LOG_(INFO) << "This tests a bionic extension.\n";
+ GTEST_SKIP() << "bionic extension";
#endif
}
@@ -915,6 +915,6 @@ TEST(android_mallopt, set_allocation_limit_multiple_threads) {
ASSERT_EQ(0, WEXITSTATUS(status));
}
#else
- GTEST_LOG_(INFO) << "This tests a bionic extension.\n";
+ GTEST_SKIP() << "bionic extension";
#endif
}