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

Unified Diff: mojo/tools/mojob.py

Issue 825063003: mojob.py: add nacltest command. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Rebase Created 5 years, 11 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 | « mojo/tools/get_test_list.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/tools/mojob.py
diff --git a/mojo/tools/mojob.py b/mojo/tools/mojob.py
index 5bb57edec8c235d31b20866c656b543dc1c4744c..3461ec4d67e3d93c093553141776e84ac46aecb4 100755
--- a/mojo/tools/mojob.py
+++ b/mojo/tools/mojob.py
@@ -195,6 +195,10 @@ def darttest(config):
return _run_tests(config, ['dart'])
+def nacltest(config):
+ return _run_tests(config, ['nacl'])
+
+
def main():
os.chdir(Paths().src_root)
@@ -283,6 +287,10 @@ def main():
help='Run Dart unit tests (does not build).')
darttest_parser.set_defaults(func=darttest)
+ nacltest_parser = subparsers.add_parser('nacltest', parents=[parent_parser],
+ help='Run NaCl unit tests (does not build).')
+ nacltest_parser.set_defaults(func=nacltest)
+
args = parser.parse_args()
config = _args_to_config(args)
return args.func(config)
« no previous file with comments | « mojo/tools/get_test_list.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698