Commit 883fe6bf authored by Łukasz Nowak's avatar Łukasz Nowak

Expose more information about result status

parent 40ca3993
......@@ -97,12 +97,16 @@ def main():
'test-script-result',
))
if len(result_list) > 0:
print(try_info + ' Data found.')
print(try_info + ' Data directory found, looking for results.')
result_path = result_list[0]
for result_file in (os.path.join(dirname, filename)
result_file_list = (os.path.join(dirname, filename)
for dirname, dirnames, filenames in os.walk(result_path)
for filename in filenames
):
)
if len(result_file_list):
print(try_info + ' No result posted, will check next try.')
for result_file in result_file_list:
print(try_info + ' Data found.')
result_found = True
result_file = os.path.abspath(result_file)
status_dict['command'] = result_file
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment