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

XMLLayoutTestCase fails on compilers that do not provide location info

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.0
    • Fix Version/s: 0.10.0
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: