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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/mock_drt.py

Issue 2800853003: webkitpy: Unify the exit status codes. (Closed)
Patch Set: webkitpy: Unify the exit status codes. Created 3 years, 8 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
Index: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/mock_drt.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/mock_drt.py b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/mock_drt.py
index 1705eedeaab05264730399c875fbc52a67f14060..7e4cce76ecc48fddcd5056175eedef0af13d0bb4 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/mock_drt.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/mock_drt.py
@@ -47,6 +47,7 @@ script_dir = os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(os.
if script_dir not in sys.path:
sys.path.append(script_dir)
+from webkitpy.common import exit_codes
from webkitpy.common import read_checksum_from_png
from webkitpy.common.system.system_host import SystemHost
from webkitpy.layout_tests.models import test_run_results
@@ -70,10 +71,10 @@ class MockDRTPort(object):
return getattr(self.__delegate, name)
def check_build(self, needs_http, printer):
- return test_run_results.OK_EXIT_STATUS
+ return exit_codes.OK_EXIT_STATUS
def check_sys_deps(self, needs_http):
- return test_run_results.OK_EXIT_STATUS
+ return exit_codes.OK_EXIT_STATUS
def _driver_class(self, delegate):
return self._mocked_driver_maker

Powered by Google App Engine
This is Rietveld 408576698