aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/benchmain.cpp
diff options
context:
space:
mode:
authorGravatar tfarina@chromium.org <tfarina@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-12-31 14:29:52 +0000
committerGravatar tfarina@chromium.org <tfarina@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-12-31 14:29:52 +0000
commit725a64cf89605680ebb0f56cd6727f29d8b9899b (patch)
tree16c59be767477d69bc960beec1acd48a82490b91 /bench/benchmain.cpp
parentf5e1f63461d0a4dcb4bd5d0388ec6d392b97e5f0 (diff)
Add default resource path for skia test cases in gm and bench tools.
BUG=skia:1765 TEST=./out/Release/gm --match downsamplebitmap_image R=mtklein@google.com, scroggo@google.com, yunchao.he@intel.com Review URL: https://codereview.chromium.org/120873002 git-svn-id: http://skia.googlecode.com/svn/trunk@12850 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'bench/benchmain.cpp')
-rw-r--r--bench/benchmain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/benchmain.cpp b/bench/benchmain.cpp
index 695ac7eba6..f6bca712f5 100644
--- a/bench/benchmain.cpp
+++ b/bench/benchmain.cpp
@@ -275,7 +275,7 @@ DEFINE_double(error, 0.01,
"Ratio of subsequent bench measurements must drop within 1±error to converge.");
DEFINE_string(timeFormat, "%9.2f", "Format to print results, in milliseconds per 1000 loops.");
DEFINE_bool2(verbose, v, false, "Print more.");
-DEFINE_string2(resourcePath, i, NULL, "directory for test resources.");
+DEFINE_string2(resourcePath, i, "resources", "directory for test resources.");
DEFINE_string(outResultsFile, "", "If given, the results will be written to the file in JSON format.");
// Has this bench converged? First arguments are milliseconds / loop iteration,