summaryrefslogtreecommitdiff
path: root/tests/mte_test.cpp
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2021-08-02 01:09:58 -0700
committerLinux Build Service Account <lnxbuild@localhost>2021-08-02 01:09:58 -0700
commit555d228b48c09d9372395a9f66f4788e65782d6d (patch)
treede8c191b12ad526f3d50641b42b3926aafbec985 /tests/mte_test.cpp
parentcfa63efcf51b81feb41d4c97cce98ae1c337e4b3 (diff)
parent7290ff7cfa79abad5f0a3b2d77383eea2ec90077 (diff)
Merge 7290ff7cfa79abad5f0a3b2d77383eea2ec90077 on remote branch
Change-Id: Ic055a046e8aaed75b4cad2c1f7d3704b63478bf9
Diffstat (limited to 'tests/mte_test.cpp')
-rw-r--r--tests/mte_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mte_test.cpp b/tests/mte_test.cpp
index f329d8d70..ade95326c 100644
--- a/tests/mte_test.cpp
+++ b/tests/mte_test.cpp
@@ -38,7 +38,7 @@ static void test_tag_mismatch() {
#endif
}
#if defined(__aarch64__)
- if (mte_supported()) {
+ if (mte_supported() && running_with_mte()) {
EXPECT_DEATH(
{
volatile int load ATTRIBUTE_UNUSED = *mistagged_p;