Merge "Skip MTE tests with native_bridge" into android11-tests-dev
diff --git a/tests/mte_test.cpp b/tests/mte_test.cpp
index 8928805..79ee0f8 100644
--- a/tests/mte_test.cpp
+++ b/tests/mte_test.cpp
@@ -18,6 +18,7 @@
#include <android-base/macros.h>
#include <bionic/mte.h>
+#include "utils.h"
__attribute__((no_sanitize("hwaddress")))
static void test_tag_mismatch() {
@@ -44,5 +45,10 @@
}
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();
}