Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions reframe/core/runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,17 +119,21 @@ def timestamp(self):
def output_prefix(self):
'''The output prefix directory of ReFrame.'''
if self.outputdir:
return os.path.join(self.outputdir, self.timestamp)
ret = os.path.join(self.outputdir, self.timestamp)
else:
return os.path.join(self.prefix, 'output', self.timestamp)
ret = os.path.join(self.prefix, 'output', self.timestamp)

return os.path.abspath(ret)

@property
def stage_prefix(self):
'''The stage prefix directory of ReFrame.'''
if self.stagedir:
return os.path.join(self.stagedir, self.timestamp)
ret = os.path.join(self.stagedir, self.timestamp)
else:
return os.path.join(self.prefix, 'stage', self.timestamp)
ret = os.path.join(self.prefix, 'stage', self.timestamp)

return os.path.abspath(ret)

def make_stagedir(self, *dirs, wipeout=True):
return self._makedir(self.stage_prefix,
Expand Down
1 change: 0 additions & 1 deletion reframe/frontend/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,6 @@ def print_infoline(param, value):
f"{':'.join(loader.load_path)!r}")
print_infoline('stage directory', repr(rt.stage_prefix))
print_infoline('output directory', repr(rt.output_prefix))
print_infoline('performance logs', repr(rt.perflogdir))
printer.info('')
try:
# Locate and load checks
Expand Down