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

Improve jpackage jtreg tests

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: internal
    • Fix Version/s: internal
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      To test a single jpackage parameter for native packaging we need to create three java sources on each platform. If the parameter is supported on all platforms this results in nine java sources which are 90% copy/paste. This is inefficient. It should be one java test source file per the given functionality to be tested.
      Tests that cover shared functionality should be in `test/jdk/tools/jpackage/share` subfolder.
      Tests that cover Windows specific functionality should be in `test/jdk/tools/jpackage/windows` subfolder. No `base`, `exe` and `msi` subfolders should be created in `test/jdk/tools/jpackage/windows` subfolder. Similar for Linux and OSX tests.

        Attachments

          Activity

            People

            Assignee:
            asemenyuk Alexey Semenyuk
            Reporter:
            asemenyuk Alexey Semenyuk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: