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

Side by Side Diff: mojo/public/tools/apptest_runner.py

Issue 878933003: Move the apptest runner and parts of mopy to the public SDK. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « no previous file | mojo/public/tools/mopy/__init__.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2014 The Chromium Authors. All rights reserved. 2 # Copyright 2014 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """A test runner for gtest application tests.""" 6 """A test runner for gtest application tests."""
7 7
8 import argparse 8 import argparse
9 import ast 9 import ast
10 import logging 10 import logging
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 run_apps=False)) as apps: 106 run_apps=False)) as apps:
107 launcher_args = [ 107 launcher_args = [
108 '--shell-path=' + apps.socket_path, 108 '--shell-path=' + apps.socket_path,
109 '--app-url=' + application, 109 '--app-url=' + application,
110 '--app-path=' + mojo_paths.FileFromUrl(application)] 110 '--app-path=' + mojo_paths.FileFromUrl(application)]
111 return gtest.run_test(config, launcher_args, run_launcher=True) 111 return gtest.run_test(config, launcher_args, run_launcher=True)
112 112
113 113
114 if __name__ == '__main__': 114 if __name__ == '__main__':
115 sys.exit(main()) 115 sys.exit(main())
OLDNEW
« no previous file with comments | « no previous file | mojo/public/tools/mopy/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698