commit | 8b42ba6bf25f3979cd004017364ec9bc8cdb8186 | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris@google.com> | Thu Jan 19 01:21:55 2023 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Jan 19 01:21:55 2023 +0000 |
tree | b6c10f192a181732e55c6cef1389707985e2e761 | |
parent | cc66ba30e59fbfcde29783ce0321a33eb5b86087 [diff] | |
parent | 2ef59371ff00e49f20db79ca9701d1118dc0b841 [diff] |
Merge "Only run mallopt_smoke test on bionic."
diff --git a/tests/malloc_test.cpp b/tests/malloc_test.cpp index 3cc5bbd..e90a824 100644 --- a/tests/malloc_test.cpp +++ b/tests/malloc_test.cpp
@@ -661,13 +661,13 @@ } TEST(malloc, mallopt_smoke) { -#if !defined(ANDROID_HOST_MUSL) +#if defined(__BIONIC__) errno = 0; ASSERT_EQ(0, mallopt(-1000, 1)); // mallopt doesn't set errno. ASSERT_EQ(0, errno); #else - GTEST_SKIP() << "musl doesn't have mallopt"; + GTEST_SKIP() << "bionic-only test"; #endif }