[feature] check if vtest.conf exists
Signed-off-by: zhangtianli2006 <zhangtianli2006@163.com>
This commit is contained in:
parent
ee500e6510
commit
fc72ff4cd1
@ -62,6 +62,7 @@ def check_file(file_path: str, err_msg: str):
|
||||
|
||||
task_cnt = []
|
||||
|
||||
check_file("vtest.conf", "[ERR] Configure file 'vtest.conf' not found.")
|
||||
vconf = open("vtest.conf", "r")
|
||||
|
||||
name, sub_tasks = vconf.readline().split()
|
||||
|
Loading…
x
Reference in New Issue
Block a user