| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright 2014 The LUCI Authors. All rights reserved. | 2 # Copyright 2014 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 import os | 6 import os |
| 7 import sys | 7 import sys |
| 8 | 8 |
| 9 APP_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) | 9 APP_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) |
| 10 sys.path.insert(0, os.path.join(APP_DIR, '..', 'components')) | 10 sys.path.insert(0, os.path.join(APP_DIR, '..', 'components')) |
| 11 | 11 |
| 12 # pylint: disable=import-self | 12 # pylint: disable=import-self |
| 13 from tools import run_coverage | 13 from tools import run_coverage |
| 14 | 14 |
| 15 | 15 |
| 16 if __name__ == '__main__': | 16 if __name__ == '__main__': |
| 17 sys.exit(run_coverage.main( | 17 sys.exit(run_coverage.main( |
| 18 APP_DIR, | 18 APP_DIR, |
| 19 ('tools',), | 19 ('tools',), |
| 20 'PRESUBMIT.py,components,mapreduce,*test*,tool*')) | 20 'PRESUBMIT.py,components,mapreduce,*test*,tool*')) |
| OLD | NEW |