| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 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 import copy | 6 import copy |
| 7 import datetime | 7 import datetime |
| 8 import os | 8 import os |
| 9 import posixpath | 9 import posixpath |
| 10 import subprocess | 10 import subprocess |
| (...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 514 | 514 |
| 515 | 515 |
| 516 def main(): | 516 def main(): |
| 517 suite = unittest.defaultTestLoader.loadTestsFromModule(sys.modules[__name__]) | 517 suite = unittest.defaultTestLoader.loadTestsFromModule(sys.modules[__name__]) |
| 518 result = unittest.TextTestRunner(verbosity=2).run(suite) | 518 result = unittest.TextTestRunner(verbosity=2).run(suite) |
| 519 | 519 |
| 520 return int(not result.wasSuccessful()) | 520 return int(not result.wasSuccessful()) |
| 521 | 521 |
| 522 if __name__ == '__main__': | 522 if __name__ == '__main__': |
| 523 sys.exit(main()) | 523 sys.exit(main()) |
| OLD | NEW |