about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJonathan "Duke" Leto <jonathan@leto.net>2011-02-23 12:41:17 -0800
committerJonathan "Duke" Leto <jonathan@leto.net>2011-02-23 12:42:14 -0800
commitddfce3ec926451b3b3d8bc2302dab15c5e99a250 (patch)
tree86a8f6e717c274f680baf50ddae672bb86378949
parentRun the git commands in the correct repo (diff)
downloadjitterbug-ddfce3ec926451b3b3d8bc2302dab15c5e99a250.tar.gz
Add a useful comment
-rw-r--r--lib/jitterbug/Builder.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/jitterbug/Builder.pm b/lib/jitterbug/Builder.pm
index 9c7dc2f..9abef14 100644
--- a/lib/jitterbug/Builder.pm
+++ b/lib/jitterbug/Builder.pm
@@ -167,6 +167,8 @@ sub run_task {
         while (<$fh>){
             $lines .= $_;
         }
+        # if $result is undefined, either there was a build failure
+        # or the test output is not from a TAP harness
         ($result) = $lines =~ /Result:\s(\w+)/;
         my ( $name, ) = basename($version);
         $name =~ s/\.txt//;