diff options
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_ |