From 63b6eb400c9d9052447b213471f90dfa4e6f242c Mon Sep 17 00:00:00 2001 From: Roland Levillain Date: Thu, 28 Jul 2016 16:37:28 +0100 Subject: Disable CheckSwapUsage test with read barriers on x86. This test does not produce the expected results on some x86 systems when read barriers are enabled. Also remove unused TEST_DISABLED_FOR_READ_BARRIER macro definition. Test: m test-art-host-gtest Bug: 29259363 Bug: 12687968 Change-Id: If7c124226b32c10425725e62bb684150aba108ab --- compiler/common_compiler_test.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'compiler/common_compiler_test.h') diff --git a/compiler/common_compiler_test.h b/compiler/common_compiler_test.h index 2d139eb841..c9423757ab 100644 --- a/compiler/common_compiler_test.h +++ b/compiler/common_compiler_test.h @@ -115,13 +115,6 @@ class CommonCompilerTest : public CommonRuntimeTest { std::list> header_code_and_maps_chunks_; }; -// TODO: When read barrier works with all tests, get rid of this. -#define TEST_DISABLED_FOR_READ_BARRIER() \ - if (kUseReadBarrier) { \ - printf("WARNING: TEST DISABLED FOR READ BARRIER\n"); \ - return; \ - } - // TODO: When read barrier works with all Optimizing back ends, get rid of this. #define TEST_DISABLED_FOR_READ_BARRIER_WITH_OPTIMIZING_FOR_UNSUPPORTED_INSTRUCTION_SETS() \ if (kUseReadBarrier && GetCompilerKind() == Compiler::kOptimizing) { \ -- cgit v1.2.3-59-g8ed1b