aboutsummaryrefslogtreecommitdiffhomepage
path: root/dm
diff options
context:
space:
mode:
Diffstat (limited to 'dm')
-rw-r--r--dm/DM.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/dm/DM.cpp b/dm/DM.cpp
index 00bcf6ab33..8fffd68f8f 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -1282,8 +1282,11 @@ static void run_test(skiatest::Test test, const GrContextOptions& grCtxOptions)
} reporter;
if (!FLAGS_dryRun && !is_blacklisted("_", "tests", "_", test.name)) {
+ GrContextOptions options = grCtxOptions;
+ test.modifyGrContextOptions(&options);
+
start("unit", "test", "", test.name);
- GrContextFactory factory(grCtxOptions);
+ GrContextFactory factory(options);
test.run(&reporter, &factory);
}
done("unit", "test", "", test.name);