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

Side by Side Diff: tools/safari_factory_reset.py

Issue 1871883002: Make Safari tests more robust. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address comments. Created 4 years, 6 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
OLDNEW
(Empty)
1 #!/usr/bin/env python
2 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
3 # for details. All rights reserved. Use of this source code is governed by a
4 # BSD-style license that can be found in the LICENSE file.
5
6 import os
7 import string
8 import subprocess
9 import sys
10
11 import utils
12
13
14 def Main():
15 args = sys.argv[1:]
16 tools_dir = os.path.dirname(os.path.realpath(__file__))
17 dart_script_name = os.path.join(
18 tools_dir, 'testing', 'dart', 'reset_safari.dart');
19 command = [utils.CheckedInSdkExecutable(),
20 '--checked', dart_script_name] + args
21 exit_code = subprocess.call(command)
22 utils.DiagnoseExitCode(exit_code, command)
23 return exit_code
24
25
26 if __name__ == '__main__':
27 sys.exit(Main())
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698