File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -363,7 +363,7 @@ def write_report_project_info(file, config):
363363 return None
364364
365365 name = config ['PROJECT-NAME' ]
366- root = config ['PROJECT-ROOT' ]
366+ root = os . path . join ( ROOT_PATH , config ['PROJECT-ROOT' ])
367367 version = run_git_cmd (root , ["describe" , "--tags" , "--always" ])
368368 sha = run_git_cmd (root , ['rev-parse' , 'HEAD' ])[:12 ]
369369
@@ -714,7 +714,7 @@ def main():
714714 if 'PROJECT-NAME' in proj :
715715 str = f"\n Testing { proj ['PROJECT-NAME' ]} "
716716 if 'PROJECT-ROOT' in proj :
717- str += f" ({ run_git_cmd (proj ['PROJECT-ROOT' ], ['rev-parse' , 'HEAD' ])[:12 ]} )"
717+ str += f" ({ run_git_cmd (os . path . join ( ROOT_PATH , proj ['PROJECT-ROOT' ]) , ['rev-parse' , 'HEAD' ])[:12 ]} )"
718718 cprint (pcolor .yellow , str )
719719
720720 cmdl = {'name' : 'command-line' , 'suite' : []}
You can’t perform that action at this time.
0 commit comments