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:
Andrew Boie 2020-01-02 18:56:17 -08:00 committed by Anas Nashif
commit bd13710524

View file

@ -1996,7 +1996,7 @@ class ProjectBuilder(FilterBuilder):
@staticmethod
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:
logger.info("{:-^100}".format(filename))