sanitycheck: use abs path for logs
Makes it much easier to inspect them in a different terminal from where the test was run. These paths tend to be long anyway, even if relative. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
114c01b3b9
commit
bd13710524
1 changed files with 1 additions and 1 deletions
|
@ -1996,7 +1996,7 @@ class ProjectBuilder(FilterBuilder):
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def log_info(filename, inline_logs):
|
def log_info(filename, inline_logs):
|
||||||
filename = os.path.relpath(os.path.realpath(filename))
|
filename = os.path.abspath(os.path.realpath(filename))
|
||||||
if inline_logs:
|
if inline_logs:
|
||||||
logger.info("{:-^100}".format(filename))
|
logger.info("{:-^100}".format(filename))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue