Ai
23 Star 56 Fork 90

openEuler/hpcrunner
关闭

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
testService.py 418 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import os
from executeService import ExecuteService
class TestService:
def __init__(self):
self.exe = ExecuteService()
self.ROOT = os.getcwd()
self.test_dir = os.path.join(self.ROOT, 'test')
def test(self):
run_cmd = f'''
cd {self.test_dir}
./test-qe.sh
cd {self.test_dir}
./test-util.sh
'''
self.exe.exec_raw(run_cmd)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openeuler/hpcrunner.git
git@gitee.com:openeuler/hpcrunner.git
openeuler
hpcrunner
hpcrunner
master

搜索帮助