summaryrefslogtreecommitdiff
path: root/runtime/common_runtime_test.h
diff options
context:
space:
mode:
author Roland Levillain <rpl@google.com> 2020-01-08 17:57:39 +0000
committer Roland Levillain <rpl@google.com> 2020-01-08 18:25:20 +0000
commit14d1307c1b9f4a9e32665100dde5f1454ec197a7 (patch)
tree56f49816a8179262f17b3a414ad59fa8f953dc0e /runtime/common_runtime_test.h
parenta18f5aeaecf9088f1ba1c43e7577dc149f85673f (diff)
Disable test cases `AssemblerMIPS{32r6,64}Test.Toolchain` in ART gtest.
These test cases rely on `gcc` (used as reference assembler), which is being removed from Android (b/147240075). This does not affect other test cases in `assembler_mips32r6_test` and `assembler_mips64_test`, as verification against the reference assembler had already been disabled for speed reasons (b/73903608). Test: m test-art-host-gtest-assembler_mips32r6_test Test: m test-art-host-gtest-assembler_mips64_test Bug: 147240075 Bug: 147336214 Bug: 147346243 Change-Id: I99edd834c5e3ca626b36b6cbfecfb551f01e8640
Diffstat (limited to 'runtime/common_runtime_test.h')
-rw-r--r--runtime/common_runtime_test.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/common_runtime_test.h b/runtime/common_runtime_test.h
index e1ab3dfd7f..61c88474fa 100644
--- a/runtime/common_runtime_test.h
+++ b/runtime/common_runtime_test.h
@@ -221,6 +221,12 @@ class CheckJniAbortCatcher {
DISALLOW_COPY_AND_ASSIGN(CheckJniAbortCatcher);
};
+#define TEST_DISABLED() \
+ do { \
+ printf("WARNING: TEST DISABLED\n"); \
+ return; \
+ } while (false)
+
#define TEST_DISABLED_FOR_ARM() \
if (kRuntimeISA == InstructionSet::kArm || kRuntimeISA == InstructionSet::kThumb2) { \
printf("WARNING: TEST DISABLED FOR ARM\n"); \