summaryrefslogtreecommitdiff
path: root/tests/mte_test.cpp
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2020-05-01 02:07:56 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2020-05-01 02:07:56 +0000
commita34d91b8876fda01db3f865a878be480f12d6cbd (patch)
treef67de35baf4f8d02c66b8b0138a15a7ef06c4c81 /tests/mte_test.cpp
parentee2497830237257e388e67bec2634aafd24a6add (diff)
parent5ae47270fb9105ab1cc575f7ddcbff87eb9b2eec (diff)
Snap for 6450166 from 5ae47270fb9105ab1cc575f7ddcbff87eb9b2eec to sc-release
Change-Id: I6a44b8a575986d6a6d1ccfca68f01860fd1b2fb2
Diffstat (limited to 'tests/mte_test.cpp')
-rw-r--r--tests/mte_test.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/mte_test.cpp b/tests/mte_test.cpp
index 8928805e5..ff8cde6ff 100644
--- a/tests/mte_test.cpp
+++ b/tests/mte_test.cpp
@@ -14,6 +14,10 @@
* limitations under the License.
*/
+#include <sys/cdefs.h>
+
+#if defined(__BIONIC__)
+
#include <gtest/gtest.h>
#include <android-base/macros.h>
@@ -46,3 +50,5 @@ static void test_tag_mismatch() {
TEST(mte_test, ScopedDisableMTE) {
test_tag_mismatch();
}
+
+#endif // __BIONIC__