Skip to content

Commit dce8940

Browse files
author
Vasileios Karakasis
authored
Merge pull request #1842 from teojgo/bugfix/containers_stagedir
[bugfix] Fix passing of stagedir to container platforms
2 parents dd7da0e + 4c949db commit dce8940

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

reframe/core/pipeline.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1293,9 +1293,11 @@ def run(self):
12931293
self.container_platform.validate()
12941294

12951295
# We replace executable and executable_opts in case of containers
1296-
self.executable = self.container_platform.launch_command()
1296+
self.executable = self.container_platform.launch_command(
1297+
self.stagedir)
12971298
self.executable_opts = []
1298-
prepare_container = self.container_platform.emit_prepare_commands()
1299+
prepare_container = self.container_platform.emit_prepare_commands(
1300+
self.stagedir)
12991301
if prepare_container:
13001302
self.prerun_cmds += prepare_container
13011303

0 commit comments

Comments
 (0)