Skip to content

Commit 7dce008

Browse files
committed
Show up front if result storage is enabled
1 parent 90a59bd commit 7dce008

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

reframe/frontend/cli.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1232,6 +1232,7 @@ def print_infoline(param, value):
12321232

12331233
# Print command line
12341234
session_info = report['session_info']
1235+
storage_status = 'on' if rt.get_option('storage/0/enable') else 'off'
12351236
printer.info('[ReFrame Setup]')
12361237
print_infoline('version', session_info['version'])
12371238
print_infoline('command', repr(session_info['cmdline']))
@@ -1254,7 +1255,8 @@ def print_infoline(param, value):
12541255
', '.join(repr(s) for s in session_info['log_files']))
12551256
print_infoline(
12561257
'results database',
1257-
repr(osext.expandvars(rt.get_option('storage/0/sqlite_db_file')))
1258+
f'[{storage_status}] '
1259+
f'{osext.expandvars(rt.get_option("storage/0/sqlite_db_file"))!r}'
12581260
)
12591261
printer.info('')
12601262
try:

0 commit comments

Comments
 (0)