| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright 2012 The LUCI Authors. All rights reserved. | 2 # Copyright 2012 The LUCI Authors. All rights reserved. |
| 3 # Use of this source code is governed by the Apache v2.0 license that can be | 3 # Use of this source code is governed under the Apache License, Version 2.0 |
| 4 # found in the LICENSE file. | 4 # that can be found in the LICENSE file. |
| 5 | 5 |
| 6 """Runs the whole set of swarming client unit tests on swarming itself. | 6 """Runs the whole set of swarming client unit tests on swarming itself. |
| 7 | 7 |
| 8 This is done in a few steps: | 8 This is done in a few steps: |
| 9 - Archive the whole directory as a single .isolated file. | 9 - Archive the whole directory as a single .isolated file. |
| 10 - Create one test-specific .isolated for each test to run. The file is created | 10 - Create one test-specific .isolated for each test to run. The file is created |
| 11 directly and archived manually with isolateserver.py. | 11 directly and archived manually with isolateserver.py. |
| 12 - Trigger each of these test-specific .isolated file per OS. | 12 - Trigger each of these test-specific .isolated file per OS. |
| 13 - Get all results out of order. | 13 - Get all results out of order. |
| 14 """ | 14 """ |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 tests, | 207 tests, |
| 208 options.logs, | 208 options.logs, |
| 209 options.no_idempotent) | 209 options.no_idempotent) |
| 210 | 210 |
| 211 | 211 |
| 212 if __name__ == '__main__': | 212 if __name__ == '__main__': |
| 213 fix_encoding.fix_encoding() | 213 fix_encoding.fix_encoding() |
| 214 tools.disable_buffering() | 214 tools.disable_buffering() |
| 215 colorama.init() | 215 colorama.init() |
| 216 sys.exit(main()) | 216 sys.exit(main()) |
| OLD | NEW |