Workload Base Fix
Handle case where none of the tests are enabled Change-Id: Id02824dd02aefc5d51d68b2b30ed2d0313e106e4
This commit is contained in:
parent
acb57f0d77
commit
1b2f14eb1f
@ -65,7 +65,10 @@ class WorkloadBase:
|
||||
def print_report(result_dir, time_stamp):
|
||||
with open(os.path.join(result_dir,time_stamp + '.' + 'report'), 'w') as yaml_file:
|
||||
yaml_file.write("Browbeat Report Card\n")
|
||||
yaml_file.write(yaml.dump(WorkloadBase.browbeat, default_flow_style=False))
|
||||
if not WorkloadBase.browbeat:
|
||||
yaml_file.write("No tests were enabled")
|
||||
else:
|
||||
yaml_file.write(yaml.dump(WorkloadBase.browbeat, default_flow_style=False))
|
||||
|
||||
@staticmethod
|
||||
def print_summary():
|
||||
|
Loading…
x
Reference in New Issue
Block a user