1# Copyright (c) 2012-2013 ARM Limited 2# All rights reserved. 3# 4# The license below extends only to copyright in the software and shall 5# not be construed as granting a license to any other intellectual 6# property including but not limited to intellectual property relating 7# to a hardware implementation of the functionality of the software 8# licensed hereunder. You may use the software subject to the license --- 80 unchanged lines hidden (view full) --- 89 pargs = options.options.split(';') 90 91 idx = 0 92 for wrkld in workloads: 93 process = LiveProcess() 94 process.executable = wrkld 95 process.cwd = os.getcwd() 96 |
97 if options.env: 98 with open(options.env, 'r') as f: 99 process.env = [line.rstrip() for line in f] 100 |
101 if len(pargs) > idx: 102 process.cmd = [wrkld] + pargs[idx].split() 103 else: 104 process.cmd = [wrkld] 105 106 if len(inputs) > idx: 107 process.input = inputs[idx] 108 if len(outputs) > idx: --- 170 unchanged lines hidden --- |