diff options
| author | 2019-07-08 10:03:16 +0100 | |
|---|---|---|
| committer | 2019-07-08 12:02:47 +0100 | |
| commit | 8d6651d8cc83d028cefc24153f4543a82dea4574 (patch) | |
| tree | cc18f2d7800bc8dc87c27de53b62e35aa632ff6d /runtime/common_runtime_test.h | |
| parent | 6623594e6c65035c3096c8edcbf6374d22f6d4e0 (diff) | |
Disable jit_memory_region_test tests on buggy kernels.
Test: jit_memory_region_test
Change-Id: I5339071ab1fcb9765a91015e33024d05774ac2b1
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 9e3688855c..3595c7309d 100644 --- a/runtime/common_runtime_test.h +++ b/runtime/common_runtime_test.h @@ -265,6 +265,12 @@ class CheckJniAbortCatcher { return; \ } +#define TEST_DISABLED_FOR_KERNELS_WITH_CACHE_SEGFAULT() \ + if (CacheOperationsMaySegFault()) { \ + printf("WARNING: TEST DISABLED ON KERNEL THAT SEGFAULT ON CACHE OPERATIONS\n"); \ + return; \ + } + } // namespace art #endif // ART_RUNTIME_COMMON_RUNTIME_TEST_H_ |