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

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

XMLWordPrintable

    • 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

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

              Created:
              Updated: