Home
last modified time | relevance | path

Searched full:presubmit (Results 1 – 25 of 951) sorted by relevance

12345678910>>...39

/external/grpc-grpc/tools/run_tests/artifacts/
Ddistribtest_targets.py99 presubmit=False, argument
106 if presubmit:
107 self.labels.append("presubmit")
166 self, platform, arch, docker_suffix, source=False, presubmit=False argument
177 if presubmit:
178 self.labels.append("presubmit")
222 presubmit=False, argument
239 if presubmit:
240 self.labels.append("presubmit")
276 def __init__(self, platform, arch, docker_suffix=None, presubmit=False): argument
[all …]
Dartifact_targets.py113 def __init__(self, platform, arch, py_version, presubmit=False): argument
118 if presubmit:
119 self.labels.append("presubmit")
248 def __init__(self, platform, gem_platform, presubmit=False): argument
253 if presubmit:
254 self.labels.append("presubmit")
281 def __init__(self, platform, arch, presubmit=False): argument
286 if presubmit:
287 self.labels.append("presubmit")
311 def __init__(self, platform, arch, presubmit=False): argument
[all …]
/external/rust/android-crates-io/crates/grpcio-sys/grpc/tools/run_tests/artifacts/
Ddistribtest_targets.py89 presubmit=False): argument
95 if presubmit:
96 self.labels.append('presubmit')
153 presubmit=False): argument
163 if presubmit:
164 self.labels.append('presubmit')
203 presubmit=False): argument
215 if presubmit:
216 self.labels.append('presubmit')
249 def __init__(self, platform, arch, docker_suffix=None, presubmit=False): argument
[all …]
Dartifact_targets.py104 def __init__(self, platform, arch, py_version, presubmit=False): argument
109 if presubmit:
110 self.labels.append('presubmit')
226 def __init__(self, platform, gem_platform, presubmit=False): argument
231 if presubmit:
232 self.labels.append('presubmit')
256 def __init__(self, platform, arch, presubmit=False): argument
261 if presubmit:
262 self.labels.append('presubmit')
283 def __init__(self, platform, arch, presubmit=False): argument
[all …]
/external/pigweed/pw_presubmit/py/pw_presubmit/
Dcli.py14 """Argument parsing code for presubmit checks."""
25 from pw_presubmit import git_repo, presubmit
29 DEFAULT_PATH = Path('out', 'presubmit')
32 This directory was created by pw_presubmit to run presubmit checks for the
39 parser: argparse.ArgumentParser, programs: presubmit.Programs, default: str
41 def presubmit_program(arg: str) -> presubmit.Program:
45 f'{arg} is not the name of a presubmit program\n\n'
66 help='Which presubmit program to run',
79 """List all available presubmit steps and their docstrings."""
97 def presubmit_step(arg: str) -> list[presubmit.Check]:
[all …]
Dpresubmit.py14 """Tools for running presubmit checks in a Git repository.
16 Presubmit checks are defined as a function or other callable. The function may
17 take either no arguments or a list of the paths on which to run. Presubmit
20 For example, either of these functions may be used as presubmit checks:
33 Presubmit checks that accept a list of paths may use the filter_paths decorator
37 See pigweed_presbumit.py for an example of how to define presubmit checks.
162 """A sequence of presubmit checks; basically a tuple with a name."""
186 return f'{self.name if self.name else ""} presubmit checks'.strip()
190 """A mapping of presubmit check programs.
192 Use is optional. Helpful when managing multiple presubmit check programs.
[all …]
/external/pigweed/pw_presubmit/
Ddocs.rst9 The presubmit module provides Python tools for running presubmit checks and
10 checking and fixing code format. It also includes the presubmit check script for
13 Presubmit checks are essential tools, but they take work to set up, and
15 tools for setting up high quality presubmit checks for any project. We use this
16 framework to run Pigweed’s presubmit on our workstations and in our automated
31 The ``pw_presubmit`` package includes presubmit checks that can be used with any
60 Creating a presubmit check for your project
62 Creating a presubmit check for a project using ``pw_presubmit`` is simple, but
63 requires some customization. Projects must define their own presubmit check
66 A project's presubmit script can be registered as a
[all …]
/external/sdk-platform-java/java-shared-dependencies/
Dsynth.metadata49 ".kokoro/presubmit/clirr.cfg",
50 ".kokoro/presubmit/common.cfg",
51 ".kokoro/presubmit/dependencies.cfg",
52 ".kokoro/presubmit/integration.cfg",
53 ".kokoro/presubmit/java11.cfg",
54 ".kokoro/presubmit/java7.cfg",
55 ".kokoro/presubmit/java8-osx.cfg",
56 ".kokoro/presubmit/java8-win.cfg",
57 ".kokoro/presubmit/java8.cfg",
58 ".kokoro/presubmit/linkage-monitor.cfg",
[all …]
/external/google-cloud-java/java-notification/
Dsynth.metadata52 ".kokoro/presubmit/clirr.cfg",
53 ".kokoro/presubmit/common.cfg",
54 ".kokoro/presubmit/dependencies.cfg",
55 ".kokoro/presubmit/integration.cfg",
56 ".kokoro/presubmit/java11.cfg",
57 ".kokoro/presubmit/java7.cfg",
58 ".kokoro/presubmit/java8-osx.cfg",
59 ".kokoro/presubmit/java8-win.cfg",
60 ".kokoro/presubmit/java8.cfg",
61 ".kokoro/presubmit/linkage-monitor.cfg",
[all …]
/external/google-cloud-java/java-dns/
Dsynth.metadata52 ".kokoro/presubmit/clirr.cfg",
53 ".kokoro/presubmit/common.cfg",
54 ".kokoro/presubmit/dependencies.cfg",
55 ".kokoro/presubmit/integration.cfg",
56 ".kokoro/presubmit/java11.cfg",
57 ".kokoro/presubmit/java7.cfg",
58 ".kokoro/presubmit/java8-osx.cfg",
59 ".kokoro/presubmit/java8-win.cfg",
60 ".kokoro/presubmit/java8.cfg",
61 ".kokoro/presubmit/linkage-monitor.cfg",
[all …]
/external/cronet/tot/third_party/metrics_proto/
DPRESUBMIT_test.py10 import PRESUBMIT
27 self.assertEqual(1, len(PRESUBMIT.CheckChange(input_api, MockOutputApi())))
33 MockAffectedFile(FullPath(PRESUBMIT.README), 'some diff'),
35 self.assertEqual(0, len(PRESUBMIT.CheckChange(input_api, MockOutputApi())))
40 MockAffectedFile(FullPath(PRESUBMIT.README), 'some diff'),
42 self.assertEqual(0, len(PRESUBMIT.CheckChange(input_api, MockOutputApi())))
48 MockAffectedFile(FullPath('PRESUBMIT.py'), 'some diff'),
53 self.assertEqual(0, len(PRESUBMIT.CheckChange(input_api, MockOutputApi())))
59 MockAffectedFile(FullPath('PRESUBMIT.py'), 'some diff'),
65 self.assertEqual(1, len(PRESUBMIT.CheckChange(input_api, MockOutputApi())))
[all …]
/external/cronet/stable/third_party/metrics_proto/
DPRESUBMIT_test.py10 import PRESUBMIT
27 self.assertEqual(1, len(PRESUBMIT.CheckChange(input_api, MockOutputApi())))
33 MockAffectedFile(FullPath(PRESUBMIT.README), 'some diff'),
35 self.assertEqual(0, len(PRESUBMIT.CheckChange(input_api, MockOutputApi())))
40 MockAffectedFile(FullPath(PRESUBMIT.README), 'some diff'),
42 self.assertEqual(0, len(PRESUBMIT.CheckChange(input_api, MockOutputApi())))
48 MockAffectedFile(FullPath('PRESUBMIT.py'), 'some diff'),
53 self.assertEqual(0, len(PRESUBMIT.CheckChange(input_api, MockOutputApi())))
59 MockAffectedFile(FullPath('PRESUBMIT.py'), 'some diff'),
65 self.assertEqual(1, len(PRESUBMIT.CheckChange(input_api, MockOutputApi())))
[all …]
/external/google-auth-library-java/
Dsynth.metadata49 ".kokoro/presubmit/clirr.cfg",
50 ".kokoro/presubmit/common.cfg",
51 ".kokoro/presubmit/dependencies.cfg",
52 ".kokoro/presubmit/java11.cfg",
53 ".kokoro/presubmit/java7.cfg",
54 ".kokoro/presubmit/java8-osx.cfg",
55 ".kokoro/presubmit/java8-win.cfg",
56 ".kokoro/presubmit/java8.cfg",
57 ".kokoro/presubmit/linkage-monitor.cfg",
58 ".kokoro/presubmit/lint.cfg",
[all …]
/external/autotest/server/site_tests/cheets_CTS_P/
Dcontrol.internal.x86.wm-presubmit8 NAME = 'cheets_CTS_P.internal.x86.wm-presubmit'
16 DOC = 'Run module wm-presubmit of the Android Compatibility Test Suite (CTS) using x86 ABI in the A…
24 tag='internal.x86.wm-presubmit',
25 test_name='cheets_CTS_P.internal.x86.wm-presubmit',
26Presubmit', '--test-arg', 'com.android.tradefed.testtype.AndroidJUnitTest:include-annotation:andro…
28 target_module='wm-presubmit',
Dcontrol.internal.arm.wm-presubmit8 NAME = 'cheets_CTS_P.internal.arm.wm-presubmit'
16 DOC = 'Run module wm-presubmit of the Android Compatibility Test Suite (CTS) using arm ABI in the A…
24 tag='internal.arm.wm-presubmit',
25 test_name='cheets_CTS_P.internal.arm.wm-presubmit',
26Presubmit', '--test-arg', 'com.android.tradefed.testtype.AndroidJUnitTest:include-annotation:andro…
28 target_module='wm-presubmit',
/external/google-cloud-java/java-containeranalysis/
Dsynth.metadata71 ".kokoro/presubmit/clirr.cfg",
72 ".kokoro/presubmit/common.cfg",
73 ".kokoro/presubmit/dependencies.cfg",
74 ".kokoro/presubmit/graalvm-native.cfg",
75 ".kokoro/presubmit/integration.cfg",
76 ".kokoro/presubmit/java11.cfg",
77 ".kokoro/presubmit/java7.cfg",
78 ".kokoro/presubmit/java8-osx.cfg",
79 ".kokoro/presubmit/java8-win.cfg",
80 ".kokoro/presubmit/java8.cfg",
[all …]
/external/wycheproof/java/com/google/security/wycheproof/
DWycheproofRunner.java40 * <ul>@Presubmit test runners skip @NoPresubmitTest test functions.
69 * Annotation to specify presubmit test runners that exclude {@code @NoPresubmitTets} tests.
71 * <p>Usage: @Presubmit(ProviderType.BOUNCY_CASTLE)
75 public @interface Presubmit {} annotation in WycheproofRunner
101 * Tests that should be excluded from presubmit checks on specific providers.
111 /** List of providers that this test method should not run as presubmit check. */
139 Presubmit presubmit; field in WycheproofRunner.ExcludeTestFilter
145 this.presubmit = runnerClass.getAnnotation(Presubmit.class); in ExcludeTestFilter()
170 // If the runner class is annotated with @Presubmit, skip non-presubmit tests in isOkayToRunTest()
171 if (presubmit != null) { in isOkayToRunTest()
/external/google-cloud-java/java-iam/
Dsynth.metadata59 ".kokoro/presubmit/clirr.cfg",
60 ".kokoro/presubmit/common.cfg",
61 ".kokoro/presubmit/dependencies.cfg",
62 ".kokoro/presubmit/graalvm-native.cfg",
63 ".kokoro/presubmit/integration.cfg",
64 ".kokoro/presubmit/java11.cfg",
65 ".kokoro/presubmit/java7.cfg",
66 ".kokoro/presubmit/java8-osx.cfg",
67 ".kokoro/presubmit/java8-win.cfg",
68 ".kokoro/presubmit/java8.cfg",
[all …]
/external/webrtc/
Dpresubmit_test.py18 import PRESUBMIT
28 errors = PRESUBMIT.CheckCommitMessageBugEntry(mock_input_api,
36 errors = PRESUBMIT.CheckCommitMessageBugEntry(mock_input_api,
48 errors = PRESUBMIT.CheckCommitMessageBugEntry(mock_input_api,
58 errors = PRESUBMIT.CheckCommitMessageBugEntry(mock_input_api,
66 errors = PRESUBMIT.CheckCommitMessageBugEntry(mock_input_api,
70 errors = PRESUBMIT.CheckCommitMessageBugEntry(mock_input_api,
88 errors = PRESUBMIT.CheckNewlineAtTheEndOfProtoFiles(
98 errors = PRESUBMIT.CheckNewlineAtTheEndOfProtoFiles(
189 errors = PRESUBMIT.CheckNoMixingSources(self.input_api,
[all …]
/external/google-cloud-java/java-phishingprotection/
Dsynth.metadata72 ".kokoro/presubmit/clirr.cfg",
73 ".kokoro/presubmit/common.cfg",
74 ".kokoro/presubmit/dependencies.cfg",
75 ".kokoro/presubmit/integration.cfg",
76 ".kokoro/presubmit/java11.cfg",
77 ".kokoro/presubmit/java7.cfg",
78 ".kokoro/presubmit/java8-osx.cfg",
79 ".kokoro/presubmit/java8-win.cfg",
80 ".kokoro/presubmit/java8.cfg",
81 ".kokoro/presubmit/linkage-monitor.cfg",
[all …]
/external/pigweed/docs/contributing/
Dindex.rst43 #. Install the Pigweed presubmit check hook with ``pw presubmit --install``.
241 Presubmit Checks and Continuous Integration
250 Running Presubmit Checks
252 To run automated presubmit checks on a pending CL, click the ``CQ DRY RUN``
260 In addition to the publicly visible presubmit checks, Pigweed runs internal
261 presubmit checks that are only visible within Google. If any these checks fail,
266 Project Presubmit Checks
268 In addition to Pigweed's presubmit checks, some projects that use Pigweed run
269 their presubmit checks in Pigweed's infrastructure. This supports a development
288 changes. If a change passes all presubmit checks except for known failures, the
[all …]
/external/chromiumos-config/presubmit/
Dpresubmits.py5 # Collection of helper functions that can be used to compose presubmit
6 # checks. For cross repo usage import and compose into presubmit hooks
10 # sys.path.insert(1, 'config/presubmit')
22 # For more details on the depot tools provided presubmit API see:
23 # http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts
53 """Runs the checker.py script as a presubmit check.
55 Runs the checker script as a presubmit check checking for successful
82 """Runs a script as a presubmit check.
84 Runs a script as a presubmit check checking for successful exit and no
128 """Runs a gen_config as a presubmit check.
[all …]
/external/skia/
DPRESUBMIT_test.py9 import PRESUBMIT
23 results = PRESUBMIT._CheckTopReleaseNotesChanged(
35 results = PRESUBMIT._CheckTopReleaseNotesChanged(
52 results = PRESUBMIT._CheckTopReleaseNotesChanged(
64 results = PRESUBMIT._CheckReleaseNotesForPublicAPI(
79 results = PRESUBMIT._CheckReleaseNotesForPublicAPI(
99 results = PRESUBMIT._RunCommandAndCheckDiff(self.mock_output_api, [], [])
105 results = PRESUBMIT._RunCommandAndCheckDiff(
113 results = PRESUBMIT._RunCommandAndCheckDiff(
/external/google-cloud-java/java-policy-troubleshooter/
Dsynth.metadata61 ".kokoro/presubmit/clirr.cfg",
62 ".kokoro/presubmit/common.cfg",
63 ".kokoro/presubmit/dependencies.cfg",
64 ".kokoro/presubmit/integration.cfg",
65 ".kokoro/presubmit/java11.cfg",
66 ".kokoro/presubmit/java7.cfg",
67 ".kokoro/presubmit/java8-osx.cfg",
68 ".kokoro/presubmit/java8-win.cfg",
69 ".kokoro/presubmit/java8.cfg",
70 ".kokoro/presubmit/linkage-monitor.cfg",
[all …]
/external/pigweed/pw_build/py/pw_build/
Dproject_builder_presubmit_runner.py30 from pw_presubmit.presubmit import (
33 Presubmit,
147 """Convert a presubmit step to a list of BuildCommands.
167 '\n\nERROR: This presubmit cannot be run with "pw build". '
169 f' pw presubmit --step {presubmit_step}'
257 format_options=pw_presubmit.presubmit.FormatOptions.load(),
261 presubmit_instance = Presubmit(
289 'Missing pw_presubmit.presubmit.Check for presubmit step:\n'
324 # Unknown type of presubmit, use dry-run to capture subprocess traces.
355 """Return a list of matching presubmit steps."""
[all …]

12345678910>>...39