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

          Claudia created issue -
          Claudia made changes -
          Priority Original: Minor [ 4 ] New: Major [ 3 ]
          Ulli Hafner made changes -
          Component/s Original: warnings-ng-plugin [ 24526 ]
          Ulli Hafner made changes -
          Labels New: hacktoberfest help-wanted newbie-friendly
          Ulli Hafner made changes -
          Summary Original: Green Hills MULTI parser does not work with compiler option --brief_diagnostics New: 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?
          Jagruti made changes -
          Assignee New: Jagruti [ jagrutiti ]
          Ulli Hafner made changes -
          Description Original: 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
          New: 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:
          {noformat}
          "D:\jenkins\src\MyFile.cpp", line 42: warning #381-D: extra ";" ignored
          {noformat}
          ...

          Brief diagnostics:

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

          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.
          Ulli Hafner made changes -
          Remote Link New: This issue links to "PR #882 (Web Link)" [ 28467 ]

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

              Created:
              Updated:
              Resolved: