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

Unified Diff: third_party/WebKit/Tools/Scripts/run-bindings-tests

Issue 2554503004: Add running unit tests to run-bindings-tests. (Closed)
Patch Set: Landing in 4... 3... Created 4 years 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 | « no previous file | third_party/WebKit/Tools/Scripts/test-webkitpy » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Tools/Scripts/run-bindings-tests
diff --git a/third_party/WebKit/Tools/Scripts/run-bindings-tests b/third_party/WebKit/Tools/Scripts/run-bindings-tests
index 6f4ab449292688ebd6f65b5811cec58206fa40e3..4ba934785250f6b0dd0b40b04808b8e69723558a 100755
--- a/third_party/WebKit/Tools/Scripts/run-bindings-tests
+++ b/third_party/WebKit/Tools/Scripts/run-bindings-tests
@@ -26,6 +26,10 @@
import sys
from webkitpy.bindings.bindings_tests import run_bindings_tests
+from webkitpy.common import webkit_finder
+webkit_finder.add_typ_dir_to_sys_path()
+
+import typ
def main(argv):
@@ -44,6 +48,14 @@ def main(argv):
reset_results = '--reset-results' in argv
verbose = '--verbose' in argv
+ # First, run bindings unit tests.
+ return_code = typ.main(
+ top_level_dir=webkit_finder.get_bindings_scripts_dir(),
+ win_multiprocessing='spawn')
+ if return_code != 0:
+ return return_code
+
+ # Now run the bindings end-to-end tests.
return run_bindings_tests(reset_results, verbose)
« no previous file with comments | « no previous file | third_party/WebKit/Tools/Scripts/test-webkitpy » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698