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

Add support for Dynamic Analysis (memcheck with valgrind) reports created by CTest

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • xunit-plugin
    • None

      When using CTest for running tests with valgrind (the memcheck mode)

      ctest -T memcheck

      It produces a differently formatted test report DynamicAnalysis.xml. This report is ignored by the current xunit test report plugin (No errors, the tests don't show up).
      It still is found by the plugin

      [xUnit] [INFO] - [CTest-Version N/A (default)] - 2 test report file(s) were found with the pattern 'build-tests/Testing/**/Test.xml,build-tests/Testing/**/DynamicAnalysis.xml' relative to '/home/builduser/workspace/Misc/cmake-build-test' for the testing framework 'CTest-Version N/A (default)'.
      

      See attached example

          [JENKINS-37844] Add support for Dynamic Analysis (memcheck with valgrind) reports created by CTest

          Linus Mellberg created issue -
          Nikolas Falco made changes -
          Assignee Original: Gregory Boissinot [ gbois ] New: Nikolas Falco [ nfalco ]
          Nikolas Falco made changes -
          Issue Type Original: Bug [ 1 ] New: New Feature [ 2 ]
          Nikolas Falco made changes -
          Priority Original: Major [ 3 ] New: Minor [ 4 ]
          Nikolas Falco made changes -
          Summary Original: The xunit plugin doesn't handle Dynamic Analysis (memcheck with valgrind) reports created by CTest New: Add support for Dynamic Analysis (memcheck with valgrind) reports created by CTest

            nfalco Nikolas Falco
            linusmellberg Linus Mellberg
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: