uses sh syntax to capture output
This commit is contained in:
parent
2962ce9a0f
commit
419c395966
@ -249,7 +249,7 @@ def executeJob(job):
|
|||||||
start = time.time()
|
start = time.time()
|
||||||
|
|
||||||
sys.stderr.write('.')
|
sys.stderr.write('.')
|
||||||
print('Executing ' + job['cmd'] + '...')
|
# print('Executing ' + job['cmd'] + '...')
|
||||||
|
|
||||||
# 2 minutes of timeout for a single test
|
# 2 minutes of timeout for a single test
|
||||||
timeout = 2 * 60
|
timeout = 2 * 60
|
||||||
@ -414,7 +414,7 @@ def run(testName, buildDir, sanitizer, xmlOutput, testRunName, buildOnly, useLLD
|
|||||||
if platform.system() == 'Windows':
|
if platform.system() == 'Windows':
|
||||||
executable += '.exe'
|
executable += '.exe'
|
||||||
|
|
||||||
cmd = '{} "{}" "{}" >& "{}"'.format(lldb, executable, testName, outputPath)
|
cmd = '{} "{}" "{}" > "{}" 2>&1'.format(lldb, executable, testName, outputPath)
|
||||||
|
|
||||||
jobs.append({
|
jobs.append({
|
||||||
'name': testName,
|
'name': testName,
|
||||||
|
Loading…
Reference in New Issue
Block a user