| 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 from tools import run_coverage | 12 from tools import run_coverage |
| 13 | 13 |
| 14 | 14 |
| 15 if __name__ == '__main__': | 15 if __name__ == '__main__': |
| 16 sys.exit(run_coverage.main( | 16 sys.exit(run_coverage.main( |
| 17 APP_DIR, | 17 APP_DIR, |
| 18 ('tools',), | 18 ('tools',), |
| 19 'PRESUBMIT.py,cloudstorage,components,mapreduce,*test*,tool*')) | 19 'PRESUBMIT.py,cloudstorage,components,mapreduce,*test*,tool*')) |
| OLD | NEW |