From 300a78fcffa82452451d790c66b1c0bfc645e0b5 Mon Sep 17 00:00:00 2001 From: Daniel van der Schuur <schuur@astron.nl> Date: Wed, 2 Aug 2017 10:39:14 +0000 Subject: [PATCH] -Changed error Grepping for email; now showing 50 lines before each error message. --- tools/oneclick/base/modelsim_regression_test_vhdl_mail.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/oneclick/base/modelsim_regression_test_vhdl_mail.sh b/tools/oneclick/base/modelsim_regression_test_vhdl_mail.sh index 22147032ca..1f400c13c0 100755 --- a/tools/oneclick/base/modelsim_regression_test_vhdl_mail.sh +++ b/tools/oneclick/base/modelsim_regression_test_vhdl_mail.sh @@ -54,7 +54,7 @@ SUBJECT=[REGTEST]${SUBJECT_FULL##*SUBJECT:} SUBJECT=$SUBJECT" - SVN revision ${SVN_REV}" # Grep non-duplicate error messages from the log file -LOG=$(cat $LOGFILE | grep Error | sort | uniq) +LOG=$(cat $LOGFILE | grep Error -B 50) ############################################################################### # Send the email by piping the final strings to the mail command -- GitLab