Maybe this will get my output

This commit is contained in:
Adam Nelson 2016-03-20 15:45:35 -04:00
parent e0a65de46e
commit b2ee7da86c

View file

@ -9,7 +9,6 @@ import re
import glob
import socket
from subprocess import call, check_output
import subprocess
from collections import OrderedDict
from optparse import OptionParser
@ -231,10 +230,7 @@ class Test(object):
make_list.append(options.n_procs)
# Run make
# rc = call(make_list)
rc = check_output(make_list, stderr=subprocess.STDOUT)
print(rc)
rc = 0
rc = call(make_list)
if rc != 0:
self.success = False
self.msg = 'Failed on make.'
@ -471,6 +467,9 @@ for key in iter(tests):
logfilename = os.path.splitext(logfilename)[0]
logfilename = logfilename + '_{0}.log'.format(test.name)
shutil.copy(logfile[0], logfilename)
f = open(logfilename, 'r')
for line in f:
print(line)
# For coverage builds, use lcov to generate HTML output
if test.coverage: