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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • jtreg5.1
    • jtreg5.0
    • 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.

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

              Created:
              Updated:
              Resolved: