summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornjn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9>2009-03-10 03:38:05 +0000
committernjn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9>2009-03-10 03:38:05 +0000
commitcec804bd65965e6e4e7f0a167c237bfbfcd7a5ea (patch)
treee5deb6cbea8c42c1ba31f92659b73b6d60fb1ff2
parent9cf79b54a6e755c1a18b288b869871edb9e61cb8 (diff)
Change 'nightly' to print "(unchanged)" at the start of the email subject
line if the results are unchanged from 24 hours ago. Makes it easier to see (or filter) if results are unchanged. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9334 a5019735-40e9-0310-863c-91ae7b9d1cf9
-rwxr-xr-xnightly/bin/nightly4
1 files changed, 3 insertions, 1 deletions
diff --git a/nightly/bin/nightly b/nightly/bin/nightly
index 9b6a0465..e8a63de2 100755
--- a/nightly/bin/nightly
+++ b/nightly/bin/nightly
@@ -143,8 +143,10 @@ changed=$?
if [ $changed != 0 ] ; then
echo "Results differ from 24 hours ago" >> final
+ changed_str=""
else
echo "Results unchanged from 24 hours ago" >> final
+ changed_str="(unchanged) "
fi
# Always show the current results.
@@ -188,6 +190,6 @@ fi
# Use the conf/<tag>.sendmail script to email the results.
conf/$ABT_MACHINE.sendmail \
- "$ABT_START nightly build ($ABT_MACHINE, $ABT_DETAILS)" \
+ "$changed_str$ABT_START nightly build ($ABT_MACHINE, $ABT_DETAILS)" \
final \
diffs