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

XMLWordPrintable

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

      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.

            Assignee:
            Jonathan Gibbons
            Reporter:
            Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: