aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Ben Wagner <benjaminwagner@google.com>2016-11-28 15:30:37 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-11-28 22:21:34 +0000
commit59f9edb321ea29f7349bd4f13f3473e54831598a (patch)
treead9ff6c87843ee35027be42e154df89cd99656ab
parent2cbc33de1b90e774ce6f9e6689e13fb14d9a7634 (diff)
Merge changes from internal cl/140385880.
BUG=skia: Change-Id: I1c4994a83a1669032b8dc2620fd5c3258f82a222 Reviewed-on: https://skia-review.googlesource.com/5282 Reviewed-by: Ben Wagner <benjaminwagner@google.com> Commit-Queue: Ben Wagner <benjaminwagner@google.com>
-rw-r--r--public.bzl20
1 files changed, 6 insertions, 14 deletions
diff --git a/public.bzl b/public.bzl
index 8977e73289..d12adf5583 100644
--- a/public.bzl
+++ b/public.bzl
@@ -500,7 +500,7 @@ DM_INCLUDES = [
## DM_ARGS
################################################################################
-def DM_ARGS(base_dir, asan):
+def DM_ARGS(asan):
source = ["tests", "gm", "image"]
# TODO(benjaminwagner): f16 and serialize-8888 fail.
config = ["565", "8888", "pdf", "srgb", "tiles_rt", "pic"]
@@ -518,14 +518,12 @@ def DM_ARGS(base_dir, asan):
"~Stream",
]
if asan:
- # Running all sources and configs under ASAN causes the test to exceed
- # "large" size and time out.
- source = ["tests", "gm"]
- config = ["8888"]
+ # The ASAN we use with Bazel has some strict checks, so omit tests that
+ # trigger them.
match += [
"~clippedcubic2",
"~conicpaths",
- "~gradients_2pt_conical",
+ "~^gradients",
"~Math",
"~Matrix",
"~PathOpsCubic",
@@ -536,15 +534,9 @@ def DM_ARGS(base_dir, asan):
"~PathOpsTightBoundsQuads",
"~Point",
"~sk_linear_to_srgb",
+ "~small_color_stop",
]
- return [
- "--src %s" % " ".join(source),
- "--config %s" % " ".join(config),
- "--verbose",
- "--match %s" % " ".join(match),
- "--resourcePath %s/resources" % base_dir,
- "--images %s/resources" % base_dir,
- ]
+ return ["--src"] + source + ["--config"] + config + ["--match"] + match
################################################################################
## COPTS