Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-21737

Test output are unusable

    XMLWordPrintable

Details

    Description

      I am trying to use the xUnit+CTest plugin. If I run the following shell command:

      ctest -D ExperimentalTest || true

      It produces a Test.xml into:

      Testing/*/Test.xml

      However the output seems to be some kind of base64 + gzip encoding. Therefore it is completely useless as-is. Please decode it first before presenting it.

      Thanks

      Attachments

        1. decode.py
          0.2 kB
        2. Test.xml
          885 kB

        Activity

          Here is the compressed example taken from the cdash test suite:

          https://www.kitware.com/svn/CDash/trunk/tests/data/CompressedTest.xml

          malat Mathieu Malaterre added a comment - Here is the compressed example taken from the cdash test suite: https://www.kitware.com/svn/CDash/trunk/tests/data/CompressedTest.xml

          Simple example to decode base64 + zlib

          malat Mathieu Malaterre added a comment - Simple example to decode base64 + zlib

          Not an xUnit defect.

          gbois Gregory Boissinot added a comment - Not an xUnit defect.
          jdanekrh Jiri Danek added a comment -

          Run ctest with the --no-compress-output option added. AFAIK there is no streamlined way to have Jenkins decompress it for you. This ticket can be considered a feature request.

          jdanekrh Jiri Danek added a comment - Run ctest with the --no-compress-output option added. AFAIK there is no streamlined way to have Jenkins decompress it for you. This ticket can be considered a feature request.

          People

            gbois Gregory Boissinot
            malat Mathieu Malaterre
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: