aboutsummaryrefslogtreecommitdiffhomepage
path: root/dm/DM.cpp
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2015-01-20 13:47:23 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-01-20 13:47:23 -0800
commit6c5fed2d5c18129a2ae6ef461d75e388f1b0bacd (patch)
tree92de36c99175d0b890696393942e8d5dbacf52cc /dm/DM.cpp
parent14ed0fd498639d1742e9b25ca4105193fa93b139 (diff)
DM: --tests -> --src tests
Diffstat (limited to 'dm/DM.cpp')
-rw-r--r--dm/DM.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/dm/DM.cpp b/dm/DM.cpp
index da9dc2c555..ae544058d3 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");
@@ -363,7 +362,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;