Index: sandbox/linux/tests/unit_tests.h |
diff --git a/sandbox/linux/tests/unit_tests.h b/sandbox/linux/tests/unit_tests.h |
index 5480b569c44f934df2e95fd41c461757677b9439..74aabe4d34af3a092d880ff143e2755d2ac84c2d 100644 |
--- a/sandbox/linux/tests/unit_tests.h |
+++ b/sandbox/linux/tests/unit_tests.h |
@@ -25,6 +25,12 @@ bool IsRunningOnValgrind(); |
#define DISABLE_ON_TSAN(test_name) test_name |
#endif // defined(THREAD_SANITIZER) |
+#if defined(OS_ANDROID) |
+#define DISABLE_ON_ANDROID(test_name) DISABLED_##test_name |
+#else |
+#define DISABLE_ON_ANDROID(test_name) test_name |
+#endif |
+ |
// While it is perfectly OK for a complex test to provide its own DeathCheck |
// function. Most death tests have very simple requirements. These tests should |
// use one of the predefined DEATH_XXX macros as an argument to |