diff options
Diffstat (limited to 'tests/mte_test.cpp')
-rw-r--r-- | tests/mte_test.cpp | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/tests/mte_test.cpp b/tests/mte_test.cpp index ade95326c..8928805e5 100644 --- a/tests/mte_test.cpp +++ b/tests/mte_test.cpp @@ -14,15 +14,10 @@ * limitations under the License. */ -#include <sys/cdefs.h> - -#if defined(__BIONIC__) - #include <gtest/gtest.h> #include <android-base/macros.h> #include <bionic/mte.h> -#include "utils.h" __attribute__((no_sanitize("hwaddress"))) static void test_tag_mismatch() { @@ -38,7 +33,7 @@ static void test_tag_mismatch() { #endif } #if defined(__aarch64__) - if (mte_supported() && running_with_mte()) { + if (mte_supported()) { EXPECT_DEATH( { volatile int load ATTRIBUTE_UNUSED = *mistagged_p; @@ -49,12 +44,5 @@ static void test_tag_mismatch() { } TEST(mte_test, ScopedDisableMTE) { - // With native_bridge, native and emulated parts exchange data, including pointers. - // This implies tagging on native and emulated architectures should match, which is - // not the case at the moment. - SKIP_WITH_NATIVE_BRIDGE; - test_tag_mismatch(); } - -#endif // __BIONIC__ |