diff options
Diffstat (limited to 'runtime/common_runtime_test.h')
-rw-r--r-- | runtime/common_runtime_test.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/common_runtime_test.h b/runtime/common_runtime_test.h index f0f83eac83..5416cb493c 100644 --- a/runtime/common_runtime_test.h +++ b/runtime/common_runtime_test.h @@ -308,6 +308,11 @@ class CheckJniAbortCatcher { GTEST_SKIP() << "WARNING: TEST DISABLED ON KERNEL THAT SEGFAULT ON CACHE OPERATIONS"; \ } +#define TEST_DISABLED_ON_VM() \ + if (RunningOnVM()) { \ + GTEST_SKIP(); \ + } + } // namespace art #endif // ART_RUNTIME_COMMON_RUNTIME_TEST_H_ |