[Bps-public-commit] r15636 - Test-Chimps-Anna/trunk/lib/Test/Chimps

alexmv at bestpractical.com alexmv at bestpractical.com
Fri Aug 29 10:31:33 EDT 2008


Author: alexmv
Date: Fri Aug 29 10:31:30 2008
New Revision: 15636

Modified:
   Test-Chimps-Anna/trunk/lib/Test/Chimps/Anna.pm

Log:
 * Include revision number in "still passing" message

Modified: Test-Chimps-Anna/trunk/lib/Test/Chimps/Anna.pm
==============================================================================
--- Test-Chimps-Anna/trunk/lib/Test/Chimps/Anna.pm	(original)
+++ Test-Chimps-Anna/trunk/lib/Test/Chimps/Anna.pm	Fri Aug 29 10:31:30 2008
@@ -176,8 +176,9 @@
         $self->{passing_projects}->{$report->project} = 1;
       }
       if ( $self->{passing_projects}->{$report->project}++) {
+        my @exclam = (qw/Yatta Woo Whee Yay Yippee Yow/, "Happy happy joy joy");
         if ($self->{passing_projects}->{$report->project} % 5 == 0) {
-            $self->_say_to_all( $report->project . " still passing all " . $report->total_ok . " tests.  Woo!");
+            $self->_say_to_all( $report->project . " r" . $report->revision . " still passing all " . $report->total_ok . " tests.  " . $exclam[rand @exclam] . "!");
         }
       } else {
         $self->_say_to_all("Smoke report for " .  $report->project



More information about the Bps-public-commit mailing list