mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 10:49:00 +00:00
f76236db74
This reverts commit b9cdd0e1b2
.
This change should now work, because the buildbot recipes use the
renamed flag --reset-browser-configuration.
BUG=
R=ahe@google.com
Review URL: https://codereview.chromium.org/2070513002 .
27 lines
735 B
Python
Executable file
27 lines
735 B
Python
Executable file
#!/usr/bin/env python
|
|
# Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
|
|
# for details. All rights reserved. Use of this source code is governed by a
|
|
# BSD-style license that can be found in the LICENSE file.
|
|
|
|
import os
|
|
import string
|
|
import subprocess
|
|
import sys
|
|
|
|
import utils
|
|
|
|
|
|
def Main():
|
|
args = sys.argv[1:]
|
|
tools_dir = os.path.dirname(os.path.realpath(__file__))
|
|
dart_script_name = os.path.join(
|
|
tools_dir, 'testing', 'dart', 'reset_safari.dart');
|
|
command = [utils.CheckedInSdkExecutable(),
|
|
'--checked', dart_script_name] + args
|
|
exit_code = subprocess.call(command)
|
|
utils.DiagnoseExitCode(exit_code, command)
|
|
return exit_code
|
|
|
|
|
|
if __name__ == '__main__':
|
|
sys.exit(Main())
|