1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-09-07 22:02:42 +01:00

workloads/rt_app: Update to use python3

Update the workload generation script to be python3 compatible and
invoke with python3.
This commit is contained in:
Marc Bonnici
2019-09-06 10:38:45 +01:00
committed by setrofim
parent 1a15f5c761
commit d27443deb5
2 changed files with 14 additions and 14 deletions

View File

@@ -260,9 +260,9 @@ class RtApp(Workload):
# use workgen dry run option to generate a use case
# file with proper JSON grammar on host first
try:
check_output('python {} -d -o {} {}'.format(self.workgen_script,
output_file,
user_file),
check_output('python3 {} -d -o {} {}'.format(self.workgen_script,
output_file,
user_file),
shell=True)
except CalledProcessError as e:
message = 'Could not generate config using workgen, got "{}"'