Skip to content

Commit

Permalink
Merge pull request #18320 from satishskamath/reframe_hpctestlib
Browse files Browse the repository at this point in the history
Adding hpctestlib to the PYTHONPATH in ReFrame 4.2.0
  • Loading branch information
casparvl authored Jul 20, 2023
2 parents b1a5577 + 718620d commit d28c673
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions easybuild/easyconfigs/r/ReFrame/ReFrame-4.2.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ exts_list = [
]

postinstallcmds = [
"cp -a hpctestlib tools tutorials %(installdir)s",
"cp -a tools tutorials %(installdir)s",
# Adding hpctestlib separately to the external directory so that it can be
# imported and is in the PYTHONPATH
"cp -a hpctestlib %(installdir)s/external",
"mkdir -p %(installdir)s/share && cp -a share/completions %(installdir)s/share/completions",
r"sed -i 's@/\(python[0-9.]*\)$@/\1 -S@g' %(installdir)s/bin/reframe",
]
Expand All @@ -48,7 +51,7 @@ sanity_check_paths = {
'share/completions/reframe.bash',
'share/completions/reframe.fish',
'share/completions/reframe.tcsh'],
'dirs': ['external', 'hpctestlib', 'lib', 'tools', 'tutorials']
'dirs': ['external', 'lib', 'tools', 'tutorials']
}

sanity_check_commands = ['reframe -V']
Expand Down

0 comments on commit d28c673

Please sign in to comment.