Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8242053

Add 'make test' feature to skip adding -retain to jtreg invocation

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: External
    • Affects Version/s: 15
    • Fix Version/s: 16
    • Component/s: infrastructure
    • Labels:
      None

      Description

      If test is invoked with jtreg *without* specifying -retain:<value> then all files are left intact in the original directory. This is an important feature when running locally, and you want to rerun one of the command lines printed by jtreg or the tests.

      You can run with:
      make test TEST=<...> JTREG="RETAIN=none"

      which then pass -retain:none to jtreg, but it doesn't have the same effect as not passing -retain to jtreg. With -retain:none the files are deleted.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            stefank Stefan Karlsson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: