[Koha-bugs] [Bug 7095] New: Merge Marker Test Issues Unclear Failure Messages

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 26 17:27:45 CEST 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7095

             Bug #: 7095
           Summary: Merge Marker Test Issues Unclear Failure Messages
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: master
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P5
         Component: Test Suite
        AssignedTo: gmcharlt at gmail.com
        ReportedBy: cnighswonger at foundations.edu
         QAContact: koha-bugs at lists.koha-community.org


For example:

circulation.tt contains merge conflict markers; the test fails, but issues a
message stating that no merge conflict markers were found:

not ok 5130 - ./koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt has
no merge conflict markers

This appears to be a simple cut and paste error.

Additionally, the failure message is augmented by a diag() message which gives
the line in which the offending marker was found. However, diag() messages are
only displayed when the test is run outside of a harness. This has the unwanted
side-effect of leaving important information about the failure out when the
test is run in harness such as during 'make test.'

The attached patch addresses both issues.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list