From 4c949dba75ded0882b157118495e37c06379528f Mon Sep 17 00:00:00 2001 From: Theofilos Manitaras Date: Mon, 8 Mar 2021 18:44:33 +0100 Subject: [PATCH] Fix passing of stagedir to container platforms --- reframe/core/pipeline.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/reframe/core/pipeline.py b/reframe/core/pipeline.py index 4b06ab8e5f..cfd9958d21 100644 --- a/reframe/core/pipeline.py +++ b/reframe/core/pipeline.py @@ -1293,9 +1293,11 @@ def run(self): self.container_platform.validate() # We replace executable and executable_opts in case of containers - self.executable = self.container_platform.launch_command() + self.executable = self.container_platform.launch_command( + self.stagedir) self.executable_opts = [] - prepare_container = self.container_platform.emit_prepare_commands() + prepare_container = self.container_platform.emit_prepare_commands( + self.stagedir) if prepare_container: self.prerun_cmds += prepare_container