def _get_args(): parser = argparse.ArgumentParser() run_tests_common.add_args(parser) parser.add_argument('--run_presubmit_tests', type=bool, default=False, nargs='?', const=True, help='If set, runs the presubmit_tests.') parser.add_argument('--run_all_tests', type=bool, default=False, nargs='?', const=True, help='If set, runs all integration tests.') parser.add_argument('--keep_tables', type=bool, default=False, nargs='?', const=True, help='If set, created tables are not deleted.') parser.add_argument( '--revalidation_dataset_id', help=('If set, instead of running the full test, skips ' 'most of it and only validates the tables in the ' 'given dataset. This is useful when --keep_tables ' 'is used in a previous run. Example: ' '--revalidation_dataset_id integration_tests_20180118_014812')) return parser.parse_args()
def _get_args(): parser = argparse.ArgumentParser() run_tests_common.add_args(parser) parser.add_argument('--run_presubmit_tests', type=bool, default=False, nargs='?', const=True, help='If set, runs the presubmit_tests.') parser.add_argument('--run_all_tests', type=bool, default=False, nargs='?', const=True, help='If set, runs all integration tests.') parser.add_argument('--keep_tables', type=bool, default=False, nargs='?', const=True, help='If set, created tables are not deleted.') parser.add_argument( '--revalidation_dataset_id', help=('If set, instead of running the full test, skips ' 'most of it and only validates the tables in the ' 'given dataset. This is useful when --keep_tables ' 'is used in a previous run. Example: ' '--revalidation_dataset_id integration_tests_20180118_014812')) parser.add_argument( '--test_file_suffix', default='', help=('If provided, only the test files in `vcf_to_bq_tests` ' 'that end with the provided string (must include the file ' 'extension) will run.')) parser.add_argument( '--test_name_prefix', default='', help=('If provided, all test names will have this prefix. Mainly, to ' 'distinguish the integration tests run by cloudbuild_CI.')) return parser.parse_args()
def _get_args(): parser = argparse.ArgumentParser() run_tests_common.add_args(parser) parser.add_argument('--keep_reports', type=bool, default=False, nargs='?', const=True, help=('If set, generated reports and resolved headers ' 'are not deleted.')) return parser.parse_args()
def _get_args(): parser = argparse.ArgumentParser() run_tests_common.add_args(parser) return parser.parse_args()