Пример #1
0
#!/usr/bin/env python
# Copyright 2015 The Swarming Authors. All rights reserved.
# Use of this source code is governed by the Apache v2.0 license that can be
# found in the LICENSE file.

import os
import sys

THIS_DIR = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, os.path.join(THIS_DIR, '..', '..'))

from tools import run_coverage


if __name__ == '__main__':
  sys.exit(run_coverage.main(
      THIS_DIR,
      [],
      'PRESUBMIT.py,components,*test*,tool*'))
Пример #2
0
#!/usr/bin/env python
# Copyright 2015 The LUCI Authors. All rights reserved.
# Use of this source code is governed by the Apache v2.0 license that can be
# found in the LICENSE file.

import os
import sys

APP_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.insert(0, os.path.join(APP_DIR, '..', 'components'))

from tools import run_coverage

if __name__ == '__main__':
    sys.exit(
        run_coverage.main(APP_DIR, ('tools', ),
                          'PRESUBMIT.py,components,*test*,tool*'))
Пример #3
0
#!/usr/bin/env python
# Copyright 2015 The LUCI Authors. All rights reserved.
# Use of this source code is governed by the Apache v2.0 license that can be
# found in the LICENSE file.

import os
import sys

THIS_DIR = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, os.path.join(THIS_DIR, '..', '..'))

from tools import run_coverage

if __name__ == '__main__':
    sys.exit(
        run_coverage.main(THIS_DIR, [],
                          'PRESUBMIT.py,components,*test*,tool*'))
Пример #4
0
#!/usr/bin/env python
# Copyright 2014 The LUCI Authors. All rights reserved.
# Use of this source code is governed by the Apache v2.0 license that can be
# found in the LICENSE file.

import os
import sys

APP_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.insert(0, os.path.join(APP_DIR, '..', 'components'))

from tools import run_coverage


if __name__ == '__main__':
  sys.exit(run_coverage.main(
      APP_DIR,
      ('tools',),
      'PRESUBMIT.py,cloudstorage,components,mapreduce,*test*,tool*'))
Пример #5
0
#!/usr/bin/env python
# Copyright 2015 The Swarming Authors. All rights reserved.
# Use of this source code is governed by the Apache v2.0 license that can be
# found in the LICENSE file.

import os
import sys

APP_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.insert(0, os.path.join(APP_DIR, '..', 'components'))

from tools import run_coverage


if __name__ == '__main__':
  sys.exit(run_coverage.main(
      APP_DIR,
      ('tools',),
      'PRESUBMIT.py,components,*test*,tool*'))
Пример #6
0
#!/usr/bin/env python
# Copyright 2014 The LUCI Authors. All rights reserved.
# Use of this source code is governed under the Apache License, Version 2.0
# that can be found in the LICENSE file.

import os
import sys

APP_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.insert(0, os.path.join(APP_DIR, '..', 'components'))

# pylint: disable=import-self
from tools import run_coverage

if __name__ == '__main__':
    sys.exit(
        run_coverage.main(
            APP_DIR, ('tools', ),
            'PRESUBMIT.py,components,handlers_*,mapreduce,*test*,tool*'))
Пример #7
0
#!/usr/bin/env python
# Copyright 2014 The Swarming Authors. All rights reserved.
# Use of this source code is governed by the Apache v2.0 license that can be
# found in the LICENSE file.

import os
import sys

APP_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.insert(0, os.path.join(APP_DIR, "..", "components"))

from tools import run_coverage


if __name__ == "__main__":
    sys.exit(run_coverage.main(APP_DIR, ("tools",), "PRESUBMIT.py,cloudstorage,components,mapreduce,*test*,tool*"))
Пример #8
0
#!/usr/bin/env python
# Copyright 2014 The Swarming Authors. All rights reserved.
# Use of this source code is governed by the Apache v2.0 license that can be
# found in the LICENSE file.

import os
import sys

APP_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.insert(0, os.path.join(APP_DIR, "..", "components"))

from tools import run_coverage


if __name__ == "__main__":
    sys.exit(run_coverage.main(APP_DIR, ("tools",), "PRESUBMIT.py,components,*test*,tool*"))