 Chromium Code Reviews
 Chromium Code Reviews Issue 9620001:
  Triage client failures on legium, and add the client tests to our presubmit script.  (Closed) 
  Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
    
  
    Issue 9620001:
  Triage client failures on legium, and add the client tests to our presubmit script.  (Closed) 
  Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/| OLD | NEW | 
|---|---|
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python | 
| 2 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 
| 3 # for details. All rights reserved. Use of this source code is governed by a | 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. | 4 # BSD-style license that can be found in the LICENSE file. | 
| 5 | 5 | 
| 6 import optparse | 6 import optparse | 
| 7 import os | 7 import os | 
| 8 import stat | 8 import stat | 
| 9 import subprocess | 9 import subprocess | 
| 10 import sys | 10 import sys | 
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 163 cmd = test_cmd + ['--component=leg', 'leg_only'] | 163 cmd = test_cmd + ['--component=leg', 'leg_only'] | 
| 164 RunCommand(*cmd, verbose=True) | 164 RunCommand(*cmd, verbose=True) | 
| 165 | 165 | 
| 166 cmd = test_cmd + ['--component=leg', 'frog_native'] | 166 cmd = test_cmd + ['--component=leg', 'frog_native'] | 
| 167 RunCommand(*cmd, verbose=True) | 167 RunCommand(*cmd, verbose=True) | 
| 168 | 168 | 
| 169 # Run leg on "built-in" tests. | 169 # Run leg on "built-in" tests. | 
| 170 cmd = test_cmd + ['--component=leg'] | 170 cmd = test_cmd + ['--component=leg'] | 
| 171 RunCommand(*cmd, verbose=True) | 171 RunCommand(*cmd, verbose=True) | 
| 172 | 172 | 
| 173 # Run leg on client tests. | |
| 174 cmd = test_cmd + ['--component=legium', 'client'] | |
| 
ahe
2012/03/07 12:29:28
How long does it take to run this?
 
ngeoffray
2012/03/07 12:40:16
20 seconds on my machine
 
ahe
2012/03/07 12:49:59
OK. That is good. This is because you're only runn
 | |
| 175 RunCommand(*cmd, verbose=True) | |
| 176 | |
| 173 | 177 | 
| 174 if __name__ == '__main__': | 178 if __name__ == '__main__': | 
| 175 try: | 179 try: | 
| 176 sys.exit(main()) | 180 sys.exit(main()) | 
| 177 except Error as e: | 181 except Error as e: | 
| 178 sys.stderr.write('%s\n' % e) | 182 sys.stderr.write('%s\n' % e) | 
| 179 sys.exit(1) | 183 sys.exit(1) | 
| OLD | NEW |