summaryrefslogtreecommitdiffstats
path: root/sanity
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendrabhat@gluster.com>2012-03-27 13:51:52 +0530
committerRaghavendra Bhat <raghavendrabhat@gluster.com>2012-03-27 16:59:15 +0530
commit4293282fd507e6165916632b9ed2d3789d0f31bf (patch)
tree8c54835a69de8aba583107d2c23a83c50a31d349 /sanity
parent092487d198bfc521124ebc8756f158d784c87849 (diff)
nightly_sanity: do not send the code coverage results in the mail
Change-Id: Idd837357f61aba66491ef4f323fdc3a73d8842b4 Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com>
Diffstat (limited to 'sanity')
-rwxr-xr-xsanity/nightly_sanity/nightly_updated.sh18
1 files changed, 13 insertions, 5 deletions
diff --git a/sanity/nightly_sanity/nightly_updated.sh b/sanity/nightly_sanity/nightly_updated.sh
index c9644e5..652cdbb 100755
--- a/sanity/nightly_sanity/nightly_updated.sh
+++ b/sanity/nightly_sanity/nightly_updated.sh
@@ -725,12 +725,20 @@ function send_results()
# rm /export/bonnie /export/iozone;
rm /tmp/posix;
- mkdir /tmp/gcov_logs;
- cp -r $BUILDDIR/coverage/ /tmp/gcov_logs;
- cp $LOGDIR/logs_failed_$translator /tmp/gcov_logs;
+ mkdir /tmp/sanity_logs;
+
+#######################################################################################################################
+ # since the code coverage results are of larger size,
+ # its better not to send that data via mail. Anyway
+ # the results are stored in logs git. So can be accessed from there.
+
+ #####cp -r $BUILDDIR/coverage/ /tmp/gcov_logs;############
+########################################################################################################################
+
+ cp $LOGDIR/logs_failed_$translator /tmp/sanity_logs;
cd /tmp/;
- tar cjf logs_failed_$translator.bz2 gcov_logs;
+ tar cjf logs_failed_$translator.bz2 sanity_logs;
cd -;
scp /tmp/logs_failed_$translator.bz2 $EMAIL/result/;
@@ -742,7 +750,7 @@ function send_results()
fi
# remove the logs and the index file containing directory.
- rm -rf /tmp/gcov_logs /tmp/logs_failed_$translator.bz2;
+ rm -rf /tmp/sanity_logs /tmp/logs_failed_$translator.bz2;
}
function clean_results()