diff options
| author | 2020-01-29 11:51:40 +0000 | |
|---|---|---|
| committer | 2020-01-29 14:31:58 +0000 | |
| commit | d2ac307e505f71a2d439c264cb7c5eab9bd07e13 (patch) | |
| tree | 94baf5a9a19b46a28f211e40f9cfef0d7a6a0462 /runtime/common_runtime_test.h | |
| parent | aea71ae52a6f846b39f89a3c395663f40b2f4184 (diff) | |
Disable Dex2oatSwapUseTest.CheckSwapUsage for x86_64
Dex2oatSwapUseTest.CheckSwapUsage disabled for all targets
was changed to be disabled only for x86. However the test
frequently fails on x86_64 as well.
This CL disables the test for x86_64.
Test: test.py --host --gtest
Test: dex2oat_test
Test: run-gtests.sh
Bug: 29259363
Change-Id: I88a8bf735d2702c914ba952bdcc2431a85dbf761
Diffstat (limited to 'runtime/common_runtime_test.h')
| -rw-r--r-- | runtime/common_runtime_test.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/common_runtime_test.h b/runtime/common_runtime_test.h index 61c88474fa..c87d317a81 100644 --- a/runtime/common_runtime_test.h +++ b/runtime/common_runtime_test.h @@ -257,6 +257,12 @@ class CheckJniAbortCatcher { return; \ } +#define TEST_DISABLED_FOR_X86_64() \ + if (kRuntimeISA == InstructionSet::kX86_64) { \ + printf("WARNING: TEST DISABLED FOR X86_64\n"); \ + return; \ + } + #define TEST_DISABLED_FOR_STRING_COMPRESSION() \ if (mirror::kUseStringCompression) { \ printf("WARNING: TEST DISABLED FOR STRING COMPRESSION\n"); \ |