Uploaded image for project: 'Log4cxx'
  1. Log4cxx
  2. LOGCXX-169

XMLLayoutTestCase fails on compilers that do not provide location info

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.0
    • 0.10.0
    • None
    • None

    Description

      XMLLayoutTestCase depends on _LOG4CXX_FUNC_ containing the current class and method name which is only the case for VC6 and later and gcc and results in the test failing on Solaris where _LOG4CXX_FUNC_ is currently defined as "". Testing _LOG4CXX_FUNC_ is not related to testing the XMLLayout, so the test has been modified to redefine _LOG4CXX_FUNC_ to the fixed expected value. Ideally other tests would be written to check that _LOG4CXX_FUNC_ works as expected.

      Attachments

        Activity

          People

            carnold@apache.org Curt Arnold
            carnold@apache.org Curt Arnold
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: