OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright 2012 The Swarming Authors. All rights reserved. | 2 # Copyright 2012 The LUCI Authors. All rights reserved. |
3 # Use of this source code is governed under the Apache License, Version 2.0 that | 3 # Use of this source code is governed by the Apache v2.0 license that can be |
4 # can be found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 import cStringIO | 6 import cStringIO |
7 import hashlib | 7 import hashlib |
8 import json | 8 import json |
9 import logging | 9 import logging |
10 import optparse | 10 import optparse |
11 import os | 11 import os |
12 import shutil | 12 import shutil |
13 import subprocess | 13 import subprocess |
14 import sys | 14 import sys |
(...skipping 1603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1618 | 1618 |
1619 def clear_env_vars(): | 1619 def clear_env_vars(): |
1620 for e in ('ISOLATE_DEBUG', 'ISOLATE_SERVER'): | 1620 for e in ('ISOLATE_DEBUG', 'ISOLATE_SERVER'): |
1621 os.environ.pop(e, None) | 1621 os.environ.pop(e, None) |
1622 | 1622 |
1623 | 1623 |
1624 if __name__ == '__main__': | 1624 if __name__ == '__main__': |
1625 fix_encoding.fix_encoding() | 1625 fix_encoding.fix_encoding() |
1626 clear_env_vars() | 1626 clear_env_vars() |
1627 test_utils.main() | 1627 test_utils.main() |
OLD | NEW |