summaryrefslogtreecommitdiffstats
path: root/standalone/tests/scudo_unit_test.h
diff options
context:
space:
mode:
Diffstat (limited to 'standalone/tests/scudo_unit_test.h')
-rw-r--r--standalone/tests/scudo_unit_test.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/standalone/tests/scudo_unit_test.h b/standalone/tests/scudo_unit_test.h
index 555a935254c..1665fa87e5f 100644
--- a/standalone/tests/scudo_unit_test.h
+++ b/standalone/tests/scudo_unit_test.h
@@ -33,4 +33,16 @@ using Test = ::testing::Test;
#define EXPECT_STREQ(X, Y) EXPECT_EQ(strcmp(X, Y), 0)
#endif
+#if SCUDO_FUCHSIA
+#define SKIP_ON_FUCHSIA(T) DISABLED_##T
+#else
+#define SKIP_ON_FUCHSIA(T) T
+#endif
+
+#if SCUDO_DEBUG
+#define SKIP_NO_DEBUG(T) T
+#else
+#define SKIP_NO_DEBUG(T) DISABLED_##T
+#endif
+
extern bool UseQuarantine;