| 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))
|
|
|