mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-31 18:21:14 +00:00
RunInfo: Added default run name
The run name will now default to ``{output_folder}_{date}_{time}``
This commit is contained in:
parent
0ffbac1629
commit
fe2d279eac
@ -85,7 +85,8 @@ class RunInfo(object):
|
|||||||
self.duration = None
|
self.duration = None
|
||||||
self.project = config.project
|
self.project = config.project
|
||||||
self.project_stage = config.project_stage
|
self.project_stage = config.project_stage
|
||||||
self.run_name = config.run_name
|
self.run_name = config.run_name or "{}_{}".format(os.path.split(settings.output_directory)[1],
|
||||||
|
datetime.utcnow().strftime("%Y-%m-%d_%H-%M-%S"))
|
||||||
self.notes = None
|
self.notes = None
|
||||||
self.device_properties = {}
|
self.device_properties = {}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user