Lines Matching refs:args

72         self.args = parser.parse_args(arguments)
79 ohos_dir = os.path.join(self.args.source_dir, 'plugins', 'ohos')
80 devicetest_dir = os.path.join(self.args.source_dir, 'plugins', 'devicetest')
81 gen_dir0 = os.path.join(self.args.source_dir, 'dist')
90 subprocess.check_call(command0, cwd=self.args.source_dir)
98 [os.path.join(self.args.source_dir, "run.bat"),
99 os.path.join(self.args.source_dir, "run.sh")])
101 dist_tools_dir = os.path.join(self.args.suite_out_dir, 'tools')
108 utils.copy_file(output=self.args.suite_out_dir, sources=run_scripts,
110 xtssuite_out_dir = self.args.suite_out_dir
112 acts_validator_dir = os.path.join(self.args.suite_out_dir, '../acts-validator')
113 acts_validator_tools_dir = os.path.join(self.args.suite_out_dir, '../acts-validator/tools')
122 if self.args.configs_dir:
123 dist_configs_dir = os.path.join(self.args.suite_out_dir, 'config')
125 source_dirs=self.args.configs_dir, to_dir=True)
127 acts_validator_config_dir = os.path.join(self.args.suite_out_dir, '../acts-validator/config')
129 source_dirs=self.args.configs_dir, to_dir=True)
130 if self.args.resources_dir:
131 dist_resources_dir = os.path.join(self.args.suite_out_dir,
134 source_dirs=self.args.resources_dir, to_dir=True)
148 args = parser.parse_args(self.arguments)
150 if not args.make_archive.lower() == 'true':
154 suite_path = args.suite_path
158 copyfiles = args.prebuilts_resource.split(",")
163 archive_root_path = args.suite_archive_dir
179 self.args = None
198 self.args = parser.parse_args(self.arguments)
200 self._create_testsuite(self.args)
203 def _create_testsuite(self, args):
204 _test_xml = args.test_xml
205 _testcases_dir = os.path.dirname(args.archive_testfile)
206 _testsuite_name = os.path.basename(args.archive_testfile)\
213 if args.project_type == "js_test_hap":
218 self._copy_file(args.buildgen_testfile, dest_file)
221 if args.project_type == "pythontest":
224 args.archive_testfile, _testsuite_name + ".json"))
225 utils.copy_file(output=self.args.archive_testfile,
226 source_dirs=self.args.test_files)
228 self._check_file_exist(args.buildgen_testfile)
229 self._copy_file(args.buildgen_testfile, args.archive_testfile)
230 if args.project_type == "app":
232 self._record_testmodule_info(args.build_target_name,
235 self._record_testpart_info(args.build_target_name,
238 args.subsystem_name,args.part_name)
248 _resource_srcroot = _get_resource_rootpath(args.project_path)
374 if self.args.test_files is None:
376 arr_test_files = self.args.test_files.split(',')
416 args = arguments[1:]
417 func = _find_action(action, args)