Skip to content

Commit

Permalink
don't extract runtime info when doing a dry-run
Browse files Browse the repository at this point in the history
  • Loading branch information
smoors authored Nov 30, 2024
1 parent 5bf9dab commit ebce23a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions eessi/testsuite/eessi_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,9 @@ def log_runtime_info(self):
@run_after('run')
def extract_runtime_info_from_log(self):
"""Extracts the printed runtime info from the job log and logs it as reframe variables"""
if self.is_dry_run():
return

# If EESSI_CVMFS_REPO environment variable was set, extract it and store it in self.cvmfs_repo_name
repo_name = sn.extractall(r'EESSI_CVMFS_REPO: /cvmfs/(?P<repo>.*)$', f'{self.stagedir}/{self.stdout}',
'repo', str)
Expand Down

0 comments on commit ebce23a

Please sign in to comment.