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

Unified Diff: tools/testrunner/objects/output.py

Issue 371363003: Add predictable mode to test driver. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Extra flag. Created 6 years, 5 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/objects/context.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testrunner/objects/output.py
diff --git a/tools/testrunner/objects/output.py b/tools/testrunner/objects/output.py
index 87b4c84e1996607599a6e83fec36efceb339dabc..6b5b0cd491dbabf5fc55efa8596c2d538657188f 100644
--- a/tools/testrunner/objects/output.py
+++ b/tools/testrunner/objects/output.py
@@ -38,6 +38,12 @@ class Output(object):
self.stdout = stdout
self.stderr = stderr
+ def __ne__(self, other):
+ return (self.exit_code != other.exit_code or
+ self.timed_out != other.timed_out or
+ self.stdout != other.stdout or
+ self.stderr != other.stderr)
+
def HasCrashed(self):
if utils.IsWindows():
return 0x80000000 & self.exit_code and not (0x3FFFFF00 & self.exit_code)
« no previous file with comments | « tools/testrunner/objects/context.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698