diff options
author | Roland Levillain <rpl@google.com> | 2016-03-10 15:16:31 +0000 |
---|---|---|
committer | Roland Levillain <rpl@google.com> | 2016-03-10 15:16:31 +0000 |
commit | d52765768b634c6f32a9bddd5c1269f26d32ea3a (patch) | |
tree | cb25a4e1aeeedf9a75683888a4156dbd87f02760 /compiler/common_compiler_test.h | |
parent | 9e86c579ea45a209c8fe1cbfbc354e9065990b45 (diff) |
Disable some image_test cases with concurrent collector.
The following image_test cases sometimes fail on ART Builbot's
x86 concurrent collector configuration:
- ImageTest.WriteReadUncompressed
- ImageTest.WriteReadLZ4
- ImageTest.WriteReadLZ4HC
Disable them to make the build turn green again, while we
investigate the failures.
Bug: 27578460
Change-Id: I46126e4690e6300e3bfa771c1b6a560272ecb1da
Diffstat (limited to 'compiler/common_compiler_test.h')
-rw-r--r-- | compiler/common_compiler_test.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/compiler/common_compiler_test.h b/compiler/common_compiler_test.h index 9552143080..7c2c844e6f 100644 --- a/compiler/common_compiler_test.h +++ b/compiler/common_compiler_test.h @@ -122,6 +122,13 @@ class CommonCompilerTest : public CommonRuntimeTest { return; \ } +// 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 compilers in use, get rid of this. #define TEST_DISABLED_FOR_READ_BARRIER_WITH_QUICK() \ if (kUseReadBarrier && GetCompilerKind() == Compiler::kQuick) { \ |