Disable MTE globals tests under HWASan
Bug: 313613493
Change-Id: Ie15852edc486944a1242dd7741a81e404bdb893f
Test: atest bionic-unit-tests under HWASan
diff --git a/tests/memtag_globals_test.cpp b/tests/memtag_globals_test.cpp
index 3736d4c..4482c8a 100644
--- a/tests/memtag_globals_test.cpp
+++ b/tests/memtag_globals_test.cpp
@@ -34,11 +34,13 @@
#include "utils.h"
#endif
+#include <android-base/test_utils.h>
#include <sys/stat.h>
#include <unistd.h>
#include <string>
TEST(MemtagGlobalsTest, test) {
+ SKIP_WITH_HWASAN << "b/313613493";
#if defined(__BIONIC__) && defined(__aarch64__)
std::string binary = GetPrebuiltElfDir() + "/memtag_globals_binary.so";
chmod(binary.c_str(), 0755);