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

Improve Green Hills MULTI regular expression when columns are reported

      When using the MULTI compiler option --brief_diagnostics the warnings plugin reports only one warning that contains the whole content. If there are many warnings the warnings overviews are missing completely (probably something crashes?). The main difference is that the warnings are single line warnings and they contain the column

      Regular output:

      "D:\jenkins\src\MyFile.cpp", line 42: warning #381-D: extra ";" ignored
      

      ...

      Brief diagnostics:

      "D:\jenkins\src\MyFile.cpp", line 42 *(col. 58)*: warning #381-D: extra ";" ignored
      

          [JENKINS-66130] Improve Green Hills MULTI regular expression when columns are reported

          Jagruti added a comment -

          Hey,

          With what command shall I use `--brief_diagnostic` to get the some realtime warnings?

          >there are many warnings the warnings overviews are missing completely

          Is this the actual problem? All the warnings should be noted?

          What should be goal of the test case?

          Jagruti added a comment - Hey, With what command shall I use `--brief_diagnostic` to get the some realtime warnings? >there are many warnings the warnings overviews are missing completely Is this the actual problem? All the warnings should be noted? What should be goal of the test case?

          Ulli Hafner added a comment -

          It is not necessary to create the warnings on your own. Simply add another log snippet with the 2 texts from the description. This new test should catch both lines.

          Ulli Hafner added a comment - It is not necessary to create the warnings on your own. Simply add another log snippet with the 2 texts from the description. This new test should catch both lines.

            jagrutiti Jagruti
            itchify Claudia
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: