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:
@@ -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 "{}"'
|
||||
|
Reference in New Issue
Block a user