diff options
Diffstat (limited to 'tests/mte_test.cpp')
-rw-r--r-- | tests/mte_test.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/mte_test.cpp b/tests/mte_test.cpp index 8928805e5..f329d8d70 100644 --- a/tests/mte_test.cpp +++ b/tests/mte_test.cpp @@ -14,10 +14,15 @@ * 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() { @@ -44,5 +49,12 @@ 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__ |