| OLD | NEW |
| 1 # -*- coding: utf-8 -*- | 1 # -*- coding: utf-8 -*- |
| 2 # Copyright 2014 The Chromium Authors. All rights reserved. | 2 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 """This file allows the bots to be easily configure and run the tests.""" | 6 """This file allows the bots to be easily configure and run the tests.""" |
| 7 | 7 |
| 8 import argparse | 8 import argparse |
| 9 import os | 9 import os |
| 10 import tempfile | 10 import tempfile |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 "</test><test name='%s' type='normal' successful='false'></test>" | 91 "</test><test name='%s' type='normal' successful='false'></test>" |
| 92 "</result>" % (websitetest.name, websitetest.name)) | 92 "</result>" % (websitetest.name, websitetest.name)) |
| 93 finally: | 93 finally: |
| 94 try: | 94 try: |
| 95 os.remove(results_path) | 95 os.remove(results_path) |
| 96 except Exception: | 96 except Exception: |
| 97 pass | 97 pass |
| 98 | 98 |
| 99 xml.write("</xml>") | 99 xml.write("</xml>") |
| 100 xml.close() | 100 xml.close() |
| OLD | NEW |