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

Unified Diff: mojo/dart/http_load_test/runner.py

Issue 1262493002: Enable HTTP loading in Mojo dart content handler (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 5 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/dart/http_load_test/part0.dart ('k') | mojo/dart/http_load_test/tester.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/dart/http_load_test/runner.py
diff --git a/mojo/dart/observatory_tester/runner.py b/mojo/dart/http_load_test/runner.py
similarity index 88%
copy from mojo/dart/observatory_tester/runner.py
copy to mojo/dart/http_load_test/runner.py
index d78ec7d1a0a3bdc8bd273468513c34cf8dfde7c5..35769cff41efaf9ffa63a3076974c5bd9076e75f 100755
--- a/mojo/dart/observatory_tester/runner.py
+++ b/mojo/dart/http_load_test/runner.py
@@ -3,7 +3,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-"""This script runs the Observatory tests in the mojo tree."""
+"""This script runs the Dart content handler http load test in the mojo tree."""
import argparse
import os
@@ -11,15 +11,14 @@ import subprocess
import sys
MOJO_SHELL = 'mojo_shell'
-TESTEE = 'mojo:observatory_test'
-def main(build_dir, dart_exe, tester_script):
+def main(build_dir, dart_exe, tester_script, tester_dir):
shell_exe = os.path.join(build_dir, MOJO_SHELL)
subprocess.check_call([
dart_exe,
tester_script,
shell_exe,
- TESTEE
+ tester_dir,
])
if __name__ == '__main__':
@@ -41,4 +40,4 @@ if __name__ == '__main__':
args = parser.parse_args()
tester_dir = os.path.dirname(os.path.realpath(__file__))
tester_dart_script = os.path.join(tester_dir, 'tester.dart');
- sys.exit(main(args.build_dir, args.dart_exe, tester_dart_script))
+ sys.exit(main(args.build_dir, args.dart_exe, tester_dart_script, tester_dir))
« no previous file with comments | « mojo/dart/http_load_test/part0.dart ('k') | mojo/dart/http_load_test/tester.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698