mirror of https://github.com/openXC7/prjxray.git
Only save the last 1000 lines to XML file.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
This commit is contained in:
parent
ec6be41482
commit
7c5103e7f3
|
|
@ -386,13 +386,13 @@ def main(argv):
|
||||||
tc.name = "Run {}".format(i)
|
tc.name = "Run {}".format(i)
|
||||||
if tc.stdout.startswith('file://'):
|
if tc.stdout.startswith('file://'):
|
||||||
pretty = False
|
pretty = False
|
||||||
with open(tc.stdout[7:]) as fd:
|
tc.stdout = "\n".join(
|
||||||
tc.stdout = fd.read()
|
last_lines(open(tc.stdout[7:]), 1000))
|
||||||
|
|
||||||
if tc.stderr.startswith('file://'):
|
if tc.stderr.startswith('file://'):
|
||||||
pretty = False
|
pretty = False
|
||||||
with open(tc.stderr[7:]) as fd:
|
tc.stderr = "\n".join(
|
||||||
tc.stderr = fd.read()
|
last_lines(open(tc.stderr[7:]), 1000))
|
||||||
|
|
||||||
ts = junit_xml.TestSuite(args.fuzzer, test_cases)
|
ts = junit_xml.TestSuite(args.fuzzer, test_cases)
|
||||||
tsfilename = os.path.join(fuzzer_logdir, 'sponge_log.xml')
|
tsfilename = os.path.join(fuzzer_logdir, 'sponge_log.xml')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue