Home
last modified time | relevance | path

Searched refs:argv (Results 1 – 2 of 2) sorted by relevance

/platform_testing/tests/example/mobly/
Dhello_world_test.py79 def _parse_arguments(argv=None): argument
92 logging.info('arguments: %s', argv)
94 if not argv:
95 argv = sys.argv[1:]
96 if '--' not in argv:
103 index = argv.index('--')
115 local_args, other_args = local_parser.parse_known_args(argv[index + 1:])
118 filtered_argv = argv[:index + 1] + other_args # Remove all local arguments.
149 local_args, args, filtered_argv = _parse_arguments(sys.argv[1:])
150 sys.argv = sys.argv[:1]
[all …]
/platform_testing/libraries/tradefed-python-lib/tradefed_py/
Dtf_main.py30 argv=None, testRunner=None, argument
37 def parseArgs(self, argv): argument
38 if len(argv) > 1 and argv[1].lower() == 'discover':
39 self._do_discovery(argv[2:])
45 options, args = getopt.getopt(argv[1:], 'hHvqfcbs:e:', long_opts)