代码拉取完成,页面将自动刷新
同步操作将从 liyujie/arkui-developer-test-tool 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
import argparse
from utils import parse_json
from utils import CommandExecute
from build import BuildCodeHandler
from execute import ExecuteTestsHandler
parser = argparse.ArgumentParser()
parser.add_argument("-b", "--build-target", nargs='+', type=str, default=None)
parser.add_argument("-f", "--fast-rebuild", action="store_true")
parser.add_argument("-c", "--coverage", action="store_true")
parser.add_argument("-p", "--push-so", action="store_true")
config = parse_json('config.json')
host = config['personal']['ssh']['host']
port = config['personal']['ssh']['port']
username = config['personal']['ssh']['username']
password = config['personal']['ssh']['password']
command_execute = CommandExecute(host, port, username, password)
args = parser.parse_args()
targets = args.build_target
fast_rebuild = args.fast_rebuild
coverage = args.coverage
push_so = args.push_so
build_code_handler = BuildCodeHandler(command_execute, config)
build_code_handler.process(targets, fast_rebuild, coverage, push_so)
execute_tests_handler = ExecuteTestsHandler(command_execute, config, coverage)
execute_tests_handler.process()
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。