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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: External
    • Icon: P4 P4
    • 16
    • 15
    • infrastructure
    • None

      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.

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

              Created:
              Updated:
              Resolved: