1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2024-10-05 18:31:12 +01:00

rt-app: redirect stdout to stderr

By default rt-app writes to stderr, not to stdout. Therefore, if we
only sample the stdout, we get no output from the workload itself.

With this change, we redirect stderr to stdout to allow us to get the
workload output.
This commit is contained in:
Sascha Bischoff 2018-03-01 15:35:35 +00:00 committed by setrofim
parent d44c2ff919
commit 39925d3f79

View File

@ -173,6 +173,7 @@ class RtApp(Workload):
def run(self, context):
self.output = self.target.invoke(self.command,
on_cpus=self.taskset_mask,
redirect_stderr=True,
timeout=self.timeout,
as_root=True)