From df497f28a150ca022e116c3030707eb856fefcb5 Mon Sep 17 00:00:00 2001 From: Victor Holanda Date: Wed, 19 Feb 2020 14:14:58 +0100 Subject: [PATCH] [feat] Add cwd to reframe output Instead of printing ``` ... Reframe paths ============= Check prefix : Check search path : '/tmp/str.py' Current working dir : /tmp Stage dir prefix : /tmp/stage/ Output dir prefix : /tmp/output/ Perf. logging prefix : /tmp/perflogs ... ``` Reframe now adds the current working dir to the output like ``` ... Reframe paths ============= Check prefix : Check search path : '/tmp/str.py' Current working dir : /tmp Stage dir prefix : /tmp/stage/ Output dir prefix : /tmp/output/ Perf. logging prefix : /tmp/perflogs ... ``` --- reframe/frontend/cli.py | 1 + 1 file changed, 1 insertion(+) diff --git a/reframe/frontend/cli.py b/reframe/frontend/cli.py index 60cf121537..8f31115cd7 100644 --- a/reframe/frontend/cli.py +++ b/reframe/frontend/cli.py @@ -446,6 +446,7 @@ def main(): printer.info('%03s Check search path : %s' % ('(R)' if loader.recurse else '', "'%s'" % ':'.join(loader.load_path))) + printer.info(' Current working dir : %s' % os.getcwd()) printer.info(' Stage dir prefix : %s' % rt.resources.stage_prefix) printer.info(' Output dir prefix : %s' % rt.resources.output_prefix) printer.info(