1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-19 04:21:17 +00:00

RunInfo: Added default run name

The run name will now default to ``{output_folder}_{date}_{time}``
This commit is contained in:
Sebastian Goscik 2016-01-26 14:20:18 +00:00
parent 0ffbac1629
commit fe2d279eac

View File

@ -85,7 +85,8 @@ class RunInfo(object):
self.duration = None
self.project = config.project
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.device_properties = {}