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

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

Issue 2554503004: Add running unit tests to run-bindings-tests. (Closed)
Patch Set: 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
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..38622e83131376148960082ad9dd5bff4ad57ce6 100755
--- a/third_party/WebKit/Tools/Scripts/run-bindings-tests
+++ b/third_party/WebKit/Tools/Scripts/run-bindings-tests
@@ -25,6 +25,11 @@
import sys
+from webkitpy import path_finder
+path_finder.find_typ_dir()
+
+import typ
+
from webkitpy.bindings.bindings_tests import run_bindings_tests
@@ -44,8 +49,12 @@ def main(argv):
reset_results = '--reset-results' in argv
verbose = '--verbose' in argv
- return run_bindings_tests(reset_results, verbose)
+ return_code = run_bindings_tests(reset_results, verbose)
+ if return_code != 0:
Yuki 2016/12/06 07:59:42 nit: Probably we'd like to run the unittests regar
+ return return_code
+ return typ.main(top_level_dir=path_finder.get_bindings_scripts_dir(),
+ win_multiprocessing='spawn')
if __name__ == '__main__':
sys.exit(main(sys.argv))

Powered by Google App Engine
This is Rietveld 408576698