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

Unified Diff: tools/testrunner/server/work_handler.py

Issue 11035004: Test runner: fix empty patches; better error message for missing test files; correct .gitignore ent… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 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 | « tools/testrunner/network/endpoint.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testrunner/server/work_handler.py
diff --git a/tools/testrunner/server/work_handler.py b/tools/testrunner/server/work_handler.py
index 9e61af8227adaff2c1c314de77f1d0a3131ef44d..80f01781ebb37427c20ac4210dfe3638f15ddcfb 100644
--- a/tools/testrunner/server/work_handler.py
+++ b/tools/testrunner/server/work_handler.py
@@ -128,6 +128,7 @@ class WorkHandler(SocketServer.BaseRequestHandler):
return True
def _ApplyPatch(self, patch):
+ if not patch: return True # Just skip if the patch is empty.
patchfilename = "_dtest_incoming_patch.patch"
with open(patchfilename, "w") as f:
f.write(patch)
« no previous file with comments | « tools/testrunner/network/endpoint.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698