From d52765768b634c6f32a9bddd5c1269f26d32ea3a Mon Sep 17 00:00:00 2001 From: Roland Levillain Date: Thu, 10 Mar 2016 15:16:31 +0000 Subject: 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 --- compiler/common_compiler_test.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'compiler/common_compiler_test.h') 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) { \ -- cgit v1.2.3-59-g8ed1b