[Bps-public-commit] Test-Chimps-Anna branch, master, updated. b8903a16f713e189d259a3b8fca176055bb2499f

Ruslan Zakirov ruz at bestpractical.com
Fri May 29 18:05:55 EDT 2009


The branch, master has been updated
       via  b8903a16f713e189d259a3b8fca176055bb2499f (commit)
       via  15279636fd138a30dad96568c064cb923f1b4304 (commit)
      from  10c517e8ebc19c7a84972f57b84f62e643ca9f8e (commit)

Summary of changes:
 lib/Test/Chimps/Anna.pm |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

- Log -----------------------------------------------------------------
commit 15279636fd138a30dad96568c064cb923f1b4304
Author: Ruslan Zakirov <Ruslan.Zakirov at gmail.com>
Date:   Sat May 30 01:26:10 2009 +0400

    * adjust messages a little, to make them shorter

diff --git a/lib/Test/Chimps/Anna.pm b/lib/Test/Chimps/Anna.pm
index e553af5..0c7f78f 100644
--- a/lib/Test/Chimps/Anna.pm
+++ b/lib/Test/Chimps/Anna.pm
@@ -158,7 +158,7 @@ sub tick {
     if ($report->total_failed || $report->total_unexpectedly_succeeded) {
       $self->{passing_projects}->{$report->project} = 0;
       my $msg =
-        "Smoke report for " .  $report->project . " r" . $report->revision . " by ".$report->committer." submitted: "
+        "for ". $report->project ." rev ". $report->revision ." by ". $report->committer .": "
         . sprintf( "%.2f", $report->total_ratio * 100 ) . "\%, "
         . $report->total_seen . " total, "
         . $report->total_passed . " ok, "
@@ -178,13 +178,14 @@ sub tick {
       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 . " r" . $report->revision . " still passing all " . $report->total_passed . " tests.  " . $exclam[rand @exclam] . "!");
+            $self->_say_to_all( $report->project . " rev " . $report->revision . " still passing all " . $report->total_passed . " tests.  " . $exclam[rand @exclam] . "!");
         }
       } else {
-        $self->_say_to_all("Smoke report for " .  $report->project
-                           . " r" . $report->revision . " submitted by ".$report->committer."; "
+        $self->_say_to_all(
+            "for ". $report->project ." rev ". $report->revision ." by ". $report->committer."; "
                            . $report->duration . " seconds.  "
-                           . "All " . $report->total_passed . " tests pass");
+                           . "All " . $report->total_passed . " tests pass"
+        );
       }
     }
   }

commit b8903a16f713e189d259a3b8fca176055bb2499f
Merge: 1527963... 10c517e...
Author: Ruslan Zakirov <Ruslan.Zakirov at gmail.com>
Date:   Sat May 30 02:05:40 2009 +0400

    Merge branch 'master' of git+ssh://diesel.bestpractical.com/git/test-chimps-anna

diff --cc lib/Test/Chimps/Anna.pm
index 0c7f78f,ada388a..46437f0
--- a/lib/Test/Chimps/Anna.pm
+++ b/lib/Test/Chimps/Anna.pm
@@@ -176,16 -176,15 +176,16 @@@ sub tick 
          $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");
+         my @exclam = (qw/Yatta Woo Whee Yay Yippee Yow/, "Happy happy joy joy", "O frabjous day!");
          if ($self->{passing_projects}->{$report->project} % 5 == 0) {
 -            $self->_say_to_all( $report->project . " r" . $report->revision . " still passing all " . $report->total_passed . " tests.  " . $exclam[rand @exclam] . "!");
 +            $self->_say_to_all( $report->project . " rev " . $report->revision . " still passing all " . $report->total_passed . " tests.  " . $exclam[rand @exclam] . "!");
          }
        } else {
 -        $self->_say_to_all("Smoke report for " .  $report->project
 -                           . " r" . $report->revision . " submitted by ".$report->committer."; "
 +        $self->_say_to_all(
 +            "for ". $report->project ." rev ". $report->revision ." by ". $report->committer."; "
                             . $report->duration . " seconds.  "
 -                           . "All " . $report->total_passed . " tests pass");
 +                           . "All " . $report->total_passed . " tests pass"
 +        );
        }
      }
    }

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list