Skip to content

Commit bce0797

Browse files
chronos: remove build-many command
the goal is to simplify now to preprare this for `helper.py`. We don't need a plural of build caches in this case. Signed-off-by: David Korczynski <david@adalogics.com>
1 parent 2c61218 commit bce0797

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

infra/experimental/chronos/manager.py

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -574,12 +574,6 @@ def _cmd_dispatcher_autogen_tests(args):
574574
args.projects)
575575

576576

577-
def _cmd_dispatcher_build_many_caches(args):
578-
for project in args.projects:
579-
logger.info('Building cached project: %s', project)
580-
check_cached_replay(project, sanitizer=args.sanitizer)
581-
582-
583577
def _cmd_dispatcher_extract_coverage(args):
584578
extract_test_coverage(args.project)
585579

@@ -701,25 +695,6 @@ def parse_args():
701695
help=('The name of the projects to autogenerate tests for. '
702696
'If not specified, all projects will be considered.'))
703697

704-
build_many_caches = subparsers.add_parser(
705-
'build-many-caches',
706-
help='Builds cached images for multiple projects in parallel.')
707-
build_many_caches.add_argument(
708-
'--projects',
709-
nargs='+',
710-
required=True,
711-
help='List of projects to build cached images for.')
712-
build_many_caches.add_argument(
713-
'--sanitizer',
714-
default='address',
715-
help='The sanitizer to use for the cached build (default: address).')
716-
build_many_caches.add_argument(
717-
'--container-output',
718-
choices=['silent', 'file', 'stdout'],
719-
default='stdout',
720-
help='How to handle output from the container. ')
721-
build_many_caches.add_argument('--silent-replays', action='store_true')
722-
723698
extract_coverage_parser = subparsers.add_parser(
724699
'extract-test-coverage',
725700
help='Extract code coverage reports from run_tests.sh script')
@@ -740,7 +715,6 @@ def main():
740715
'check-replay': _cmd_dispatcher_check_replay,
741716
'build-cached-image': _cmd_dispatcher_build_cached_image,
742717
'autogen-tests': _cmd_dispatcher_autogen_tests,
743-
'build-many-caches': _cmd_dispatcher_build_many_caches,
744718
'extract-test-coverage': _cmd_dispatcher_extract_coverage,
745719
'check-run-tests-script': _cmd_check_run_tests_script
746720
}

0 commit comments

Comments
 (0)