Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7902633

Ignore specified lines in @compile/fail/ref=<file>

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: jtreg5.0
    • Fix Version/s: jtreg5.1
    • Component/s: tools
    • Labels:
      None

      Description

      Using @compile/fail/ref=<file>, jtreg will compare the output from the action to the content in the specified file.

      However, the comparison will fail if the runtime generates additional messages to the output streams, such as when using env variables like JAVA_TOOL_OPTIONS or _JAVA_OPTIONS.

      This could be addressed by being able to filter out any unexpected lines, such as by specifying regular expressions to identify the lines to be ignored.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jjg Jonathan Gibbons
                Reporter:
                jjg Jonathan Gibbons
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: