[107160] branches/gsoc13-tests/src/port1.0/portchecksum.tcl

marius at macports.org marius at macports.org
Thu Jun 20 11:02:21 PDT 2013


Revision: 107160
          https://trac.macports.org/changeset/107160
Author:   marius at macports.org
Date:     2013-06-20 11:02:21 -0700 (Thu, 20 Jun 2013)
Log Message:
-----------
Added display of computed checksums in debug mode.

Modified Paths:
--------------
    branches/gsoc13-tests/src/port1.0/portchecksum.tcl

Modified: branches/gsoc13-tests/src/port1.0/portchecksum.tcl
===================================================================
--- branches/gsoc13-tests/src/port1.0/portchecksum.tcl	2013-06-20 16:18:23 UTC (rev 107159)
+++ branches/gsoc13-tests/src/port1.0/portchecksum.tcl	2013-06-20 18:02:21 UTC (rev 107160)
@@ -264,6 +264,10 @@
                 foreach {type sum} $portfile_checksums {
                     set calculated_sum [calc_$type $fullpath]
                     lappend sums [format "%-8s%s" $type $calculated_sum]
+
+		    # Used for regression testing
+                    ui_debug "[format [msgcat::mc "Calculated (%s) is %s"] $type $calculated_sum]"
+
                     if {[string equal $sum $calculated_sum]} {
                         ui_debug "[format [msgcat::mc "Correct (%s) checksum for %s"] $type $distfile]"
                     } else {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130620/2fde6e6c/attachment.html>


More information about the macports-changes mailing list