diff options
Diffstat (limited to 'crosperf/experiment_file.py')
-rw-r--r-- | crosperf/experiment_file.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crosperf/experiment_file.py b/crosperf/experiment_file.py index bde2a4d7..fc0f16ab 100644 --- a/crosperf/experiment_file.py +++ b/crosperf/experiment_file.py @@ -4,6 +4,7 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. +import os.path import re from settings import Settings from settings_factory import SettingsFactory @@ -143,6 +144,11 @@ class ExperimentFile(object): field = settings.fields[field_name] if field.assigned: res += "\t%s: %s\n" % (field.name, field.GetString()) + if field.name == "chromeos_image": + real_file = (os.path.realpath + (os.path.expanduser(field.GetString()))) + if real_file != field.GetString(): + res += "\t#actual_image: %s\n" % real_file res += "}\n\n" return res |