]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Change 'nightly' to print "(unchanged)" at the start of the email subject
authorNicholas Nethercote <njn@valgrind.org>
Tue, 10 Mar 2009 03:38:05 +0000 (03:38 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Tue, 10 Mar 2009 03:38:05 +0000 (03:38 +0000)
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

nightly/bin/nightly

index 9b6a0465c096463ddc3e2aff22b1a83f76b8177c..e8a63de2a7f8349a2d36d28085dd48863de28a79 100755 (executable)
@@ -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