Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(864)

Unified Diff: dm/DM.cpp

Issue 856173002: DM: --tests -> --src tests (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm/DM.cpp
diff --git a/dm/DM.cpp b/dm/DM.cpp
index 1f0145ec2cfb06b9c67125492d68a43070a188b9..b3427316399fed9faf885fec05eac405a4a162c9 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -13,9 +13,8 @@
#include "Test.h"
#include "Timer.h"
-DEFINE_bool(tests, true, "Run tests?");
DEFINE_string(images, "resources", "Images to decode.");
-DEFINE_string(src, "gm skp image", "Source types to test.");
+DEFINE_string(src, "tests gm skp image", "Source types to test.");
DEFINE_bool(nameByHash, false,
"If true, write to FLAGS_writePath[0]/<hash>.png instead of "
"to FLAGS_writePath[0]/<config>/<sourceType>/<name>.png");
@@ -364,7 +363,7 @@ static void run_enclave(SkTArray<Task>* tasks) {
static SkTDArray<skiatest::Test> gCPUTests, gGPUTests;
static void gather_tests() {
- if (!FLAGS_tests) {
+ if (!FLAGS_src.contains("tests")) {
return;
}
for (const skiatest::TestRegistry* r = skiatest::TestRegistry::Head(); r;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698