Skip to content
Snippets Groups Projects
Commit f9ef1a3b authored by Eric Kooistra's avatar Eric Kooistra
Browse files

Added grep strings in summary that can be used to compose an email report.

parent af97a35a
Branches
No related tags found
No related merge requests found
......@@ -258,14 +258,16 @@ if hdl_args.run:
fp.write('# Regression test summary:\n')
# Log overall PASSED or FAILED
if nofFailed==0:
fp.write('# * All %d VHDL test benches PASSED\n' % nofTb)
fp.write('# Email SUBJECT: All %d VHDL test benches PASSED\n' % nofTb)
else:
fp.write('# * Out of %d VHDL test benches %d FAILED\n' % (nofTb, nofFailed))
fp.write('# Email SUBJECT: * Out of %d VHDL test benches %d FAILED\n' % (nofTb, nofFailed))
# Log total test time
end_time = time.time()
run_time = end_time-start_time
fp.write('# * Total regression test duration: %.1f seconds\n' % run_time)
fp.write('# Email MESSAGE: Total regression test duration: %.1f seconds\n' % run_time)
fp.write('# Email ATTACHMENT: %s\n' % logFileNamePath)
# Echo the log file
print '\n\ncat %s:\n' % logFileNamePath
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment