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

Unified Diff: Tools/Scripts/bencher

Issue 24438004: Rename testRunner.dumpAsText(true) to testRunner.dumpAsTextWithPixelResults() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: more tests Created 7 years, 3 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 | « Source/testing/runner/TestRunner.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/Scripts/bencher
diff --git a/Tools/Scripts/bencher b/Tools/Scripts/bencher
index 3ef504e59e9b0fe426cd4fc447aa82ac56714a7c..91832626f5b3915468a638a374ae89dfa116aaba 100755
--- a/Tools/Scripts/bencher
+++ b/Tools/Scripts/bencher
@@ -718,8 +718,11 @@ def emitBenchRunCodeFile(name, plan, benchDataPath, benchPath)
preCode = Benchfile.create("bencher-pre") {
| file |
doublePuts($stderr,file,"if (window.testRunner) {")
- doublePuts($stderr,file," testRunner.dumpAsText(window.enablePixelTesting);")
- doublePuts($stderr,file," testRunner.waitUntilDone();")
+ doublePuts($stderr,file," if (window.enablePixelTesting) {")
+ doublePuts($stderr,file," testRunner.dumpAsTextWithPixelResults();")
+ doublePuts($stderr,file," } else {")
+ doublePuts($stderr,file," testRunner.dumpAsText();")
+ doublePuts($stderr,file," }")
doublePuts($stderr,file,"}")
doublePuts($stderr,file,"")
doublePuts($stderr,file,"function debug(msg)")
« no previous file with comments | « Source/testing/runner/TestRunner.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698