summaryrefslogtreecommitdiff
path: root/runtime/common_runtime_test.h
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2018-07-16 15:54:50 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2018-07-16 15:54:50 +0000
commiteb577ebe86a7d13a6ab18f7975a55a8b592f0e4c (patch)
tree5fe593b0006e3ab2db9292f10bfa08af2cc6689b /runtime/common_runtime_test.h
parent06a45b7588830c04dec723beee365a2e4c1c52f2 (diff)
parent38aa0b53545a647581411b7e84cd229c5023a3c1 (diff)
Merge "ART: Clean up test exec code"
Diffstat (limited to 'runtime/common_runtime_test.h')
-rw-r--r--runtime/common_runtime_test.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/runtime/common_runtime_test.h b/runtime/common_runtime_test.h
index d21973ec7e..234b66a862 100644
--- a/runtime/common_runtime_test.h
+++ b/runtime/common_runtime_test.h
@@ -191,12 +191,30 @@ class CheckJniAbortCatcher {
DISALLOW_COPY_AND_ASSIGN(CheckJniAbortCatcher);
};
+#define TEST_DISABLED_FOR_ARM() \
+ if (kRuntimeISA == InstructionSet::kArm || kRuntimeISA == InstructionSet::kThumb2) { \
+ printf("WARNING: TEST DISABLED FOR ARM\n"); \
+ return; \
+ }
+
+#define TEST_DISABLED_FOR_ARM64() \
+ if (kRuntimeISA == InstructionSet::kArm64) { \
+ printf("WARNING: TEST DISABLED FOR ARM64\n"); \
+ return; \
+ }
+
#define TEST_DISABLED_FOR_MIPS() \
if (kRuntimeISA == InstructionSet::kMips) { \
printf("WARNING: TEST DISABLED FOR MIPS\n"); \
return; \
}
+#define TEST_DISABLED_FOR_MIPS64() \
+ if (kRuntimeISA == InstructionSet::kMips64) { \
+ printf("WARNING: TEST DISABLED FOR MIPS64\n"); \
+ return; \
+ }
+
#define TEST_DISABLED_FOR_X86() \
if (kRuntimeISA == InstructionSet::kX86) { \
printf("WARNING: TEST DISABLED FOR X86\n"); \