summaryrefslogtreecommitdiff
path: root/test/src
diff options
context:
space:
mode:
Diffstat (limited to 'test/src')
-rw-r--r--test/src/mbgl/test/util.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/src/mbgl/test/util.hpp b/test/src/mbgl/test/util.hpp
index 15c6bfc61a..ce0069131c 100644
--- a/test/src/mbgl/test/util.hpp
+++ b/test/src/mbgl/test/util.hpp
@@ -36,6 +36,12 @@
#define TEST_REQUIRES_SERVER(name) DISABLED_ ## name
#endif
+#if !CI_BUILD
+#define TEST_DISABLED_ON_CI(name) name
+#else
+#define TEST_DISABLED_ON_CI(name) DISABLED_ ## name
+#endif
+
#include <mbgl/util/image.hpp>
#include <mbgl/util/chrono.hpp>