diff options
author | Roland Levillain <rpl@google.com> | 2016-07-28 16:37:28 +0100 |
---|---|---|
committer | Roland Levillain <rpl@google.com> | 2016-07-28 16:37:28 +0100 |
commit | 63b6eb400c9d9052447b213471f90dfa4e6f242c (patch) | |
tree | e9ede70e0725c85da30c4e87cf00ebe0a0567254 /compiler/common_compiler_test.h | |
parent | 93afc5f20a23ece78d6d6e506ed75775b8ef2113 (diff) |
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
Diffstat (limited to 'compiler/common_compiler_test.h')
-rw-r--r-- | compiler/common_compiler_test.h | 7 |
1 files changed, 0 insertions, 7 deletions
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<std::vector<uint8_t>> 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) { \ |